diff options
author | Daniel Stenberg <daniel@haxx.se> | 2007-07-10 22:31:13 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2007-07-10 22:31:13 +0000 |
commit | dc2c70be070f0da6e61777d7a8cb2e47576b461c (patch) | |
tree | c84de0cd1a287e689b9d3325210c4ab1c26b1e26 /lib | |
parent | 19631f5d5f4ccc5a65b441b80c7fa978c2e04883 (diff) |
Giancarlo Formicuccia reported and fixed a problem with a closed connection
to a proxy during CONNECT auth negotiation.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/http.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/http.c b/lib/http.c index 9c7a2bd11..a9b483dbd 100644 --- a/lib/http.c +++ b/lib/http.c @@ -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)) { |