summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2000-03-01 22:06:57 +0000
committerDaniel Stenberg <daniel@haxx.se>2000-03-01 22:06:57 +0000
commitcf23986a700a94973d3a920ac334c9032bc1404e (patch)
tree1405b4b62d978988a4d28f9bb241209ac4ec9657
parentdfd341efd536244d6b12945ba039044b47626eed (diff)
downloadgnurl-cf23986a700a94973d3a920ac334c9032bc1404e.tar.gz
gnurl-cf23986a700a94973d3a920ac334c9032bc1404e.tar.bz2
gnurl-cf23986a700a94973d3a920ac334c9032bc1404e.zip
Added more variables to the progress struct targeted for statistics output
-rw-r--r--lib/urldata.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/urldata.h b/lib/urldata.h
index c7fa230c5..0515d6817 100644
--- a/lib/urldata.h
+++ b/lib/urldata.h
@@ -109,10 +109,16 @@ struct Progress {
int mode; /* what kind of progress meter to display */
int width; /* screen width at download start */
int flags; /* see progress.h */
- struct timeval start;
double timespent;
double dlspeed;
double ulspeed;
+
+ struct timeval start;
+ /* various data stored for possible later report */
+ struct timeval t_nslookup;
+ struct timeval t_connect;
+ struct timeval t_pretransfer;
+ int httpcode;
};
struct UrlData {