diff --git a/lib/url.c b/lib/url.c index 9b4977eb5..3c95a39f3 100644 --- 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;