diff options
author | Daniel Stenberg <daniel@haxx.se> | 2001-11-20 15:00:50 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2001-11-20 15:00:50 +0000 |
commit | ca0fd33d2d3ecca13bc78893e165a34682b4dcd2 (patch) | |
tree | dabe130a246fdf0d04f5d3196b644729e6d2ef15 /lib/getinfo.c | |
parent | 271f96f78f04f556ba953b10d31bfed2202ad439 (diff) |
Georg Horn's STARTTRANSFER_TIME patch
Diffstat (limited to 'lib/getinfo.c')
-rw-r--r-- | lib/getinfo.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/getinfo.c b/lib/getinfo.c index b502609ea..cdb69ca72 100644 --- a/lib/getinfo.c +++ b/lib/getinfo.c @@ -43,6 +43,7 @@ CURLcode Curl_initinfo(struct SessionHandle *data) pro->t_nslookup = 0; pro->t_connect = 0; pro->t_pretransfer = 0; + pro->t_starttransfer = 0; info->httpcode = 0; info->httpversion=0; @@ -107,6 +108,9 @@ CURLcode Curl_getinfo(struct SessionHandle *data, CURLINFO info, ...) case CURLINFO_PRETRANSFER_TIME: *param_doublep = data->progress.t_pretransfer; break; + case CURLINFO_STARTTRANSFER_TIME: + *param_doublep = data->progress.t_starttransfer; + break; case CURLINFO_SIZE_UPLOAD: *param_doublep = data->progress.uploaded; break; |