diff options
author | Marcel Raad <marcelraad@users.sf.net> | 2014-06-10 22:44:51 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2014-06-10 22:44:51 +0200 |
commit | bde0d89c3d4a1fa284ad67299f43e5f2f7acad59 (patch) | |
tree | a17f62e0f51675230ec95d794415555d9e26c20d /lib/getinfo.c | |
parent | e9344390eeec5acda08c0ed556f6d09da92ab885 (diff) | |
download | curl-bde0d89c3d4a1fa284ad67299f43e5f2f7acad59.tar.gz |
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
Diffstat (limited to 'lib/getinfo.c')
-rw-r--r-- | lib/getinfo.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/getinfo.c b/lib/getinfo.c index e6d07c269..bbda35dd0 100644 --- a/lib/getinfo.c +++ b/lib/getinfo.c @@ -53,6 +53,7 @@ CURLcode Curl_initinfo(struct SessionHandle *data) pro->t_redirect = 0; info->httpcode = 0; + info->httpproxycode = 0; info->httpversion = 0; info->filetime = -1; /* -1 is an illegal time and thus means unknown */ info->timecond = FALSE; |