summaryrefslogtreecommitdiff
path: root/lib/hostip.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-04-01 07:04:58 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-04-01 07:04:58 +0000
commit675db3a21145e7133b14f919dacbf5269363efad (patch)
treea35d06befdeba95b47ec945b28105da11bb6dcae /lib/hostip.c
parent1fc7ff878e2dd744de53ae369c3aa13e77ae9a83 (diff)
downloadcurl-675db3a21145e7133b14f919dacbf5269363efad.tar.gz
removed my previously attempted fix for ares timeouts, not needed
Diffstat (limited to 'lib/hostip.c')
-rw-r--r--lib/hostip.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/lib/hostip.c b/lib/hostip.c
index 8e02e4701..503231c0f 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);