mirror of
https://github.com/moparisthebest/curl
synced 2024-11-12 04:25:08 -05:00
Curl_proxyCONNECT() trace known bug #39
This commit is contained in:
parent
f1092b387e
commit
6d62c5a6fc
@ -5,7 +5,7 @@
|
|||||||
* | (__| |_| | _ <| |___
|
* | (__| |_| | _ <| |___
|
||||||
* \___|\___/|_| \_\_____|
|
* \___|\___/|_| \_\_____|
|
||||||
*
|
*
|
||||||
* Copyright (C) 1998 - 2011, Daniel Stenberg, <daniel@haxx.se>, et al.
|
* Copyright (C) 1998 - 2012, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||||
*
|
*
|
||||||
* This software is licensed as described in the file COPYING, which
|
* This software is licensed as described in the file COPYING, which
|
||||||
* you should have received as part of this distribution. The terms
|
* you should have received as part of this distribution. The terms
|
||||||
@ -409,8 +409,15 @@ CURLcode Curl_proxyCONNECT(struct connectdata *conn,
|
|||||||
keepon=FALSE;
|
keepon=FALSE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else {
|
||||||
keepon = FALSE;
|
keepon = FALSE;
|
||||||
|
if(200 == data->info.httpproxycode) {
|
||||||
|
if(gotbytes - (i+1))
|
||||||
|
failf(data, "Proxy CONNECT followed by %zd bytes "
|
||||||
|
"of opaque data. Data ignored (known bug #39)",
|
||||||
|
gotbytes - (i+1));
|
||||||
|
}
|
||||||
|
}
|
||||||
break; /* breaks out of for-loop, not switch() */
|
break; /* breaks out of for-loop, not switch() */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user