Added 'created' to the connectdata struct to hold the creation date, to
authorDaniel Stenberg <daniel@haxx.se>
Tue, 13 Mar 2001 07:53:59 +0000 (07:53 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 13 Mar 2001 07:53:59 +0000 (07:53 +0000)
be used for the close policy decision

lib/urldata.h

index 93d965e..53ff342 100644 (file)
@@ -227,7 +227,8 @@ struct connectdata {
 
   char *proxyhost; /* name of the http proxy host */
 
-  struct timeval now; /* current time */
+  struct timeval now;     /* "current" time */
+  struct timeval created; /* creation time */
   int firstsocket;     /* the main socket to use */
   int secondarysocket; /* for i.e ftp transfers */