diff options
-rw-r--r-- | lib/url.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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; |