mirror of
https://github.com/moparisthebest/curl
synced 2024-08-13 17:03:50 -04:00
Olaf fixed a leftover problem with the CONNECT fix of his that would leave a
wrong error message in the error message buffer.
This commit is contained in:
parent
6e682c2b01
commit
b5b3d9e5c7
4
CHANGES
4
CHANGES
@ -6,6 +6,10 @@
|
|||||||
|
|
||||||
Changelog
|
Changelog
|
||||||
|
|
||||||
|
Daniel (7 November 2006)
|
||||||
|
- Olaf fixed a leftover problem with the CONNECT fix of his that would leave a
|
||||||
|
wrong error message in the error message buffer.
|
||||||
|
|
||||||
Daniel (3 November 2006)
|
Daniel (3 November 2006)
|
||||||
- Olaf Stueben provided a patch that I edited slightly. It fixes the notorious
|
- 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
|
KNOWN_BUGS #25, which happens when a proxy closes the connection when
|
||||||
|
@ -3978,8 +3978,13 @@ static CURLcode SetupConnection(struct connectdata *conn,
|
|||||||
/* if the connection was closed by the server while exchanging
|
/* if the connection was closed by the server while exchanging
|
||||||
authentication informations, retry with the new set
|
authentication informations, retry with the new set
|
||||||
authentication information */
|
authentication information */
|
||||||
if(conn->bits.proxy_connect_closed)
|
if(conn->bits.proxy_connect_closed) {
|
||||||
|
/* reset the error buffer */
|
||||||
|
if (data->set.errorbuffer)
|
||||||
|
data->set.errorbuffer[0] = '\0';
|
||||||
|
data->state.errorbuf = FALSE;
|
||||||
continue;
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
if(CURLE_OK != result)
|
if(CURLE_OK != result)
|
||||||
return result;
|
return result;
|
||||||
|
Loading…
Reference in New Issue
Block a user