aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/url.c2
1 files changed, 2 insertions, 0 deletions
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;