summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2005-01-28 23:21:24 +0000
committerDaniel Stenberg <daniel@haxx.se>2005-01-28 23:21:24 +0000
commitf661475962213123b5e640db9744b23ea361ac65 (patch)
tree208ca8ff189d78bab62c8541378f2dc98a023957
parent54b02ecf096cda299905b15ee6e9c386ba268def (diff)
downloadgnurl-f661475962213123b5e640db9744b23ea361ac65.tar.gz
gnurl-f661475962213123b5e640db9744b23ea361ac65.tar.bz2
gnurl-f661475962213123b5e640db9744b23ea361ac65.zip
Connect failures with the multi interface was often returned as "connect()
timed out" even though the reason was different. Fixed this problem by not setting this timeout to zero when using multi.
-rw-r--r--CHANGES4
-rw-r--r--lib/connect.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/CHANGES b/CHANGES
index 059f9aa53..c33f4e709 100644
--- a/CHANGES
+++ b/CHANGES
@@ -6,6 +6,10 @@
Changelog
+Daniel (29 January 2005)
+- Connect failures with the multi interface was often returned as "connect()
+ timed out" even though the reason was different.
+
Daniel (28 January 2005)
- KNOWN_BUGS #17 fixed. A DNS cache entry may not remain locked between two
curl_easy_perform() invokes. It was previously unlocked at disconnect, which
diff --git a/lib/connect.c b/lib/connect.c
index 3b40891ad..5cd4c0656 100644
--- a/lib/connect.c
+++ b/lib/connect.c
@@ -754,7 +754,7 @@ CURLcode Curl_connecthost(struct connectdata *conn, /* context */
if(data->state.used_interface == Curl_if_multi)
/* don't hang when doing multi */
- timeout_per_addr = timeout_ms = 0;
+ timeout_per_addr = 0;
/*
* Connecting with a Curl_addrinfo chain