diff options
Diffstat (limited to 'lib/hostthre.c')
-rw-r--r-- | lib/hostthre.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/hostthre.c b/lib/hostthre.c index 6698cd848..b24cff562 100644 --- a/lib/hostthre.c +++ b/lib/hostthre.c @@ -451,6 +451,9 @@ CURLcode Curl_is_resolved(struct connectdata *conn, td->interval_end = elapsed + td->poll_interval; + /* Reset old timer so we can set a new one further in the future */ + Curl_expire(conn->data, 0); + Curl_expire(conn->data, td->poll_interval); } |