Loading lib/http.c +6 −1 Original line number Diff line number Diff line Loading @@ -1218,10 +1218,15 @@ 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++) { perline++; /* amount of bytes in this line so far */ Loading Loading
lib/http.c +6 −1 Original line number Diff line number Diff line Loading @@ -1218,10 +1218,15 @@ 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++) { perline++; /* amount of bytes in this line so far */ Loading