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:
c5d6a42
)
correction for the 407 with response-body case
author
Daniel Stenberg
<daniel@haxx.se>
Tue, 5 Jul 2005 22:07:34 +0000
(22:07 +0000)
committer
Daniel Stenberg
<daniel@haxx.se>
Tue, 5 Jul 2005 22:07:34 +0000
(22:07 +0000)
lib/http.c
patch
|
blob
|
history
diff --git
a/lib/http.c
b/lib/http.c
index
9d9bb3e
..
f46c158
100644
(file)
--- a/
lib/http.c
+++ b/
lib/http.c
@@
-1218,9
+1218,14
@@
CURLcode Curl_proxyCONNECT(struct connectdata *conn,
nread += gotbytes;
if(keepon > TRUE) {
+ /* This means we are currently ignoring a response-body, so we
+ simply count down our counter and make sure to break out of the
+ loop when we're done! */
cl -= gotbytes;
- if(!cl)
+ if(cl<=0) {
+ keepon = FALSE;
break;
+ }
}
else
for(i = 0; i < gotbytes; ptr++, i++) {