Added more variables to the progress struct targeted for statistics output
authorDaniel Stenberg <daniel@haxx.se>
Wed, 1 Mar 2000 22:06:57 +0000 (22:06 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 1 Mar 2000 22:06:57 +0000 (22:06 +0000)
lib/urldata.h

index c7fa230..0515d68 100644 (file)
@@ -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 {