mirror of
https://github.com/curl/curl.git
synced 2026-07-27 01:27:15 +03:00
Giancarlo Formicuccia reported and fixed a problem with a closed connection
to a proxy during CONNECT auth negotiation.
This commit is contained in:
parent
19631f5d5f
commit
dc2c70be07
3 changed files with 9 additions and 2 deletions
|
|
@ -1398,6 +1398,9 @@ CURLcode Curl_proxyCONNECT(struct connectdata *conn,
|
|||
else if(Curl_compareheader(line_start,
|
||||
"Connection:", "close"))
|
||||
closeConnection = TRUE;
|
||||
else if(Curl_compareheader(line_start,
|
||||
"Proxy-Connection:", "close"))
|
||||
closeConnection = TRUE;
|
||||
else if(2 == sscanf(line_start, "HTTP/1.%d %d",
|
||||
&subversion,
|
||||
&k->httpcode)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue