mirror of
https://github.com/curl/curl.git
synced 2026-08-24 23:13:38 +03:00
Shmulik Regev found an (albeit rare) case where the proxy CONNECT operation
could in fact get stuck in an endless loop.
This commit is contained in:
parent
a53ba060c8
commit
cf86f8cb78
3 changed files with 10 additions and 0 deletions
|
|
@ -4071,6 +4071,12 @@ static CURLcode SetupConnection(struct connectdata *conn,
|
|||
}
|
||||
*protocol_done = FALSE; /* default to not done */
|
||||
|
||||
/* set proxy_connect_closed to false unconditionally already here since it
|
||||
is used strictly to provide extra information to a parent function in the
|
||||
case of proxy CONNECT failures and we must make sure we don't have it
|
||||
lingering set from a previous invoke */
|
||||
conn->bits.proxy_connect_closed = FALSE;
|
||||
|
||||
/*************************************************************
|
||||
* Set user-agent for HTTP
|
||||
*************************************************************/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue