mirror of
https://github.com/curl/curl.git
synced 2026-07-24 03:17:21 +03:00
multi: fix *getsock() with CONNECT
The code used some happy eyeballs logic even _after_ CONNECT has been sent to a proxy, while the happy eyeball phase is already (should be) over by then. This is solved by splitting the multi state into two separate states introducing the new SENDPROTOCONNECT state. Bug: http://curl.haxx.se/mail/lib-2015-01/0170.html Reported-by: Peter Laser
This commit is contained in:
parent
9da14a96ab
commit
c19349951d
3 changed files with 61 additions and 61 deletions
|
|
@ -72,6 +72,7 @@ CURLcode Curl_proxy_connect(struct connectdata *conn)
|
|||
conn->data->req.protop = prot_save;
|
||||
if(CURLE_OK != result)
|
||||
return result;
|
||||
Curl_safefree(conn->allocptr.proxyuserpwd);
|
||||
#else
|
||||
return CURLE_NOT_BUILT_IN;
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue