From f661475962213123b5e640db9744b23ea361ac65 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 28 Jan 2005 23:21:24 +0000 Subject: 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. --- lib/connect.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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 -- cgit v1.2.3