We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3beefd9 commit 777b561Copy full SHA for 777b561
HttpClient.cpp
@@ -375,11 +375,11 @@ int HttpClient::read()
375
if (ret >= 0)
376
{
377
if (endOfHeadersReached() && iContentLength > 0)
378
- {
+ {
379
// We're outputting the body now and we've seen a Content-Length header
380
// So keep track of how many bytes are left
381
iBodyLengthConsumed++;
382
- }
+ }
383
}
384
return ret;
385
#endif
@@ -393,9 +393,9 @@ int HttpClient::read(uint8_t *buf, size_t size)
393
394
395
396
397
iBodyLengthConsumed += ret;
398
399
400
401
0 commit comments