Added two new time stamp places
authorDaniel Stenberg <daniel@haxx.se>
Wed, 1 Mar 2000 22:05:11 +0000 (22:05 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 1 Mar 2000 22:05:11 +0000 (22:05 +0000)
lib/url.c

index 9b4977e..3c95a39 100644 (file)
--- a/lib/url.c
+++ b/lib/url.c
@@ -1052,6 +1052,7 @@ static UrgError _urlget(struct UrlData *data)
       return URG_COULDNT_RESOLVE_PROXY;
     }
   }
+  pgrsTime(data, TIMER_NAMELOOKUP);
 
   data->firstsocket = socket(AF_INET, SOCK_STREAM, 0);
 
@@ -1148,6 +1149,7 @@ static UrgError _urlget(struct UrlData *data)
        return URG_SSL_CONNECT_ERROR;
      }
   }
+  pgrsTime(data, TIMER_CONNECT);
 
   now = tvnow(); /* time this *after* the connect is done */
   bytecount = 0;