aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2008-07-03 06:56:03 +0000
committerDaniel Stenberg <daniel@haxx.se>2008-07-03 06:56:03 +0000
commit7c648782bc7c97be81c619acd8598c38b59c5832 (patch)
tree19083e2f56b425701f0e44abcfe69e60e608aa40 /include
parentee64d14733266ce533eeb3cbc86bd80212527b81 (diff)
Introcuding a new timestamp for curl_easy_getinfo():
CURLINFO_APPCONNECT_TIME. This is set with the "application layer" handshake/connection is completed (typically SSL, TLS or SSH). By using this you can figure out the application layer's own connect time. You can extract the time stamp using curl's -w option and the new variable named 'time_appconnect'. This feature was sponsored by Lenny Rachitsky at NeuStar.
Diffstat (limited to 'include')
-rw-r--r--include/curl/curl.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/curl/curl.h b/include/curl/curl.h
index 8182e9c28..af3a0d8a9 100644
--- a/include/curl/curl.h
+++ b/include/curl/curl.h
@@ -1608,9 +1608,10 @@ typedef enum {
CURLINFO_FTP_ENTRY_PATH = CURLINFO_STRING + 30,
CURLINFO_REDIRECT_URL = CURLINFO_STRING + 31,
CURLINFO_PRIMARY_IP = CURLINFO_STRING + 32,
+ CURLINFO_APPCONNECT_TIME = CURLINFO_DOUBLE + 33,
/* Fill in new entries below here! */
- CURLINFO_LASTONE = 32
+ CURLINFO_LASTONE = 33
} CURLINFO;
/* CURLINFO_RESPONSE_CODE is the new name for the option previously known as