aboutsummaryrefslogtreecommitdiff
path: root/lib/multi.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2008-01-18 21:51:10 +0000
committerDaniel Stenberg <daniel@haxx.se>2008-01-18 21:51:10 +0000
commit62df0ff025e247a5d1d2850e22a8cdfb9edcbfd7 (patch)
tree71ae5f7b4595f7e27a2a6553b0187d41dde77472 /lib/multi.c
parent01d95b56a017fba457ad2eb88f4fae626d159ce3 (diff)
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.
Diffstat (limited to 'lib/multi.c')
-rw-r--r--lib/multi.c1
1 files changed, 1 insertions, 0 deletions
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);