From: Daniel Stenberg Date: Thu, 1 Apr 2004 07:04:58 +0000 (+0000) Subject: removed my previously attempted fix for ares timeouts, not needed X-Git-Tag: curl-7_11_2~124 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=675db3a21145e7133b14f919dacbf5269363efad;p=thirdparty%2Fcurl.git removed my previously attempted fix for ares timeouts, not needed --- diff --git a/lib/hostip.c b/lib/hostip.c index 8e02e47010..503231c0f7 100644 --- a/lib/hostip.c +++ b/lib/hostip.c @@ -568,16 +568,6 @@ CURLcode Curl_is_resolved(struct connectdata *conn, int count; struct SessionHandle *data = conn->data; int nfds; - long diff; - - diff = Curl_tvdiff(Curl_tvnow(), - data->progress.t_startsingle)/1000; - - if(diff > CURL_TIMEOUT_RESOLVE) { - /* Waited many seconds, this is a name resolve timeout! */ - failf(data, "Name resolve timeout after %ld seconds", diff); - return CURLE_OPERATION_TIMEDOUT; - } FD_ZERO(&read_fds); FD_ZERO(&write_fds);