aboutsummaryrefslogtreecommitdiff
path: root/lib/urldata.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2006-11-03 12:43:55 +0000
committerDaniel Stenberg <daniel@haxx.se>2006-11-03 12:43:55 +0000
commita777eb3d816dbd437d9b8a9e3b7b52be91d68e3b (patch)
tree4de0aa44aafc8421f7e41ba36ae451257932e4ad /lib/urldata.h
parent7f79b52daef837d0b9ba1e0d75bae0fba9a7f30c (diff)
Olaf Stueben provided a patch that I edited slightly. It fixes the notorious
KNOWN_BUGS #25, which happens when a proxy closes the connection when libcurl has sent CONNECT, as part of an authentication negotiation. Starting now, libcurl will re-connect accordingly and continue the authentication as it should.
Diffstat (limited to 'lib/urldata.h')
-rw-r--r--lib/urldata.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/urldata.h b/lib/urldata.h
index a42b09c76..440646d08 100644
--- a/lib/urldata.h
+++ b/lib/urldata.h
@@ -485,8 +485,12 @@ struct ConnectBits {
when Curl_done() is called, to prevent Curl_done() to
get invoked twice when the multi interface is
used. */
- bool stream_was_rewound; /* Indicates that the stream was rewound after a request
- read past the end of its response byte boundary */
+ bool stream_was_rewound; /* Indicates that the stream was rewound after a
+ request read past the end of its response byte
+ boundary */
+ bool proxy_connect_closed; /* set true if a proxy disconnected the
+ connection in a CONNECT request with auth, so
+ that libcurl should reconnect and continue. */
};
struct hostname {