mirror of
https://github.com/moparisthebest/curl
synced 2024-11-10 19:45:04 -05:00
getinfo: HTTP CONNECT code not reset between transfers
httpproxycode is not reset in Curl_initinfo, so a 407 is not reset even if curl_easy_reset is called between transfers. Bug: http://curl.haxx.se/bug/view.cgi?id=1380
This commit is contained in:
parent
e9344390ee
commit
bde0d89c3d
@ -53,6 +53,7 @@ CURLcode Curl_initinfo(struct SessionHandle *data)
|
|||||||
pro->t_redirect = 0;
|
pro->t_redirect = 0;
|
||||||
|
|
||||||
info->httpcode = 0;
|
info->httpcode = 0;
|
||||||
|
info->httpproxycode = 0;
|
||||||
info->httpversion = 0;
|
info->httpversion = 0;
|
||||||
info->filetime = -1; /* -1 is an illegal time and thus means unknown */
|
info->filetime = -1; /* -1 is an illegal time and thus means unknown */
|
||||||
info->timecond = FALSE;
|
info->timecond = FALSE;
|
||||||
|
Loading…
Reference in New Issue
Block a user