mirror of
https://github.com/curl/curl.git
synced 2026-07-26 04:07:17 +03:00
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.
This commit is contained in:
parent
01d95b56a0
commit
62df0ff025
3 changed files with 9 additions and 1 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue