mirror of
https://github.com/moparisthebest/curl
synced 2024-12-22 08:08:50 -05:00
removed my previously attempted fix for ares timeouts, not needed
This commit is contained in:
parent
1fc7ff878e
commit
675db3a211
10
lib/hostip.c
10
lib/hostip.c
@ -568,16 +568,6 @@ CURLcode Curl_is_resolved(struct connectdata *conn,
|
|||||||
int count;
|
int count;
|
||||||
struct SessionHandle *data = conn->data;
|
struct SessionHandle *data = conn->data;
|
||||||
int nfds;
|
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(&read_fds);
|
||||||
FD_ZERO(&write_fds);
|
FD_ZERO(&write_fds);
|
||||||
|
Loading…
Reference in New Issue
Block a user