]> granicus.if.org Git - curl/commitdiff
removed my previously attempted fix for ares timeouts, not needed
authorDaniel Stenberg <daniel@haxx.se>
Thu, 1 Apr 2004 07:04:58 +0000 (07:04 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 1 Apr 2004 07:04:58 +0000 (07:04 +0000)
lib/hostip.c

index 8e02e470108f4fce8fe41fe720bb9b0bd12bc7c3..503231c0f7891b9d4464ed6620ebef7f4ce5d5e1 100644 (file)
@@ -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);