From 62df0ff025e247a5d1d2850e22a8cdfb9edcbfd7 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 18 Jan 2008 21:51:10 +0000 Subject: Lau Hang Kin found and fixed a problem with the multi interface when doing CONNECT over a proxy. curl_multi_fdset() didn't report back the socket properly during that state, due to a missing case in the switch in the multi_getsock() function. --- lib/multi.c | 1 + 1 file changed, 1 insertion(+) (limited to 'lib') diff --git a/lib/multi.c b/lib/multi.c index fef632adf..e0a10cfce 100644 --- a/lib/multi.c +++ b/lib/multi.c @@ -780,6 +780,7 @@ static int multi_getsock(struct Curl_one_easy *easy, case CURLM_STATE_DOING: return Curl_doing_getsock(easy->easy_conn, socks, numsocks); + case CURLM_STATE_WAITPROXYCONNECT: case CURLM_STATE_WAITCONNECT: return waitconnect_getsock(easy->easy_conn, socks, numsocks); -- cgit v1.2.3