projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e934439
)
getinfo: HTTP CONNECT code not reset between transfers
author
Marcel Raad
<marcelraad@users.sf.net>
Tue, 10 Jun 2014 20:44:51 +0000
(22:44 +0200)
committer
Daniel Stenberg
<daniel@haxx.se>
Tue, 10 Jun 2014 20:44:51 +0000
(22:44 +0200)
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
lib/getinfo.c
patch
|
blob
|
history
diff --git
a/lib/getinfo.c
b/lib/getinfo.c
index
e6d07c2
..
bbda35d
100644
(file)
--- 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;