From 71fb70116891920a71eeaa9daac7f54294e8caf7 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 6 Nov 2000 15:31:10 +0000 Subject: adjusted the time-keeping function to work better for location following requests --- lib/urldata.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'lib/urldata.h') diff --git a/lib/urldata.h b/lib/urldata.h index 12046bfda..857e5e93f 100644 --- a/lib/urldata.h +++ b/lib/urldata.h @@ -244,10 +244,11 @@ struct Progress { double ulspeed; struct timeval start; + struct timeval t_startsingle; /* various data stored for possible later report */ - struct timeval t_nslookup; - struct timeval t_connect; - struct timeval t_pretransfer; + double t_nslookup; + double t_connect; + double t_pretransfer; int httpcode; #define CURR_TIME 5 @@ -271,6 +272,8 @@ struct HTTP { struct Form form; size_t (*storefread)(char *, size_t , size_t , FILE *); FILE *in; + + long followlocation; }; /**************************************************************************** -- cgit v1.2.3