We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d0b022b commit a1ef092Copy full SHA for a1ef092
1 file changed
src/HttpResponse.h
@@ -489,10 +489,10 @@ struct HttpResponse : public AsyncSocket<SSL> {
489
}
490
491
/* Get the remaining body length if set via content-length, UINT64_MAX if transfer-encoding is chunked, or 0 if no body */
492
- uint64_t remainingBodyLength() {
+ uint64_t maxRemainingBodyLength() {
493
HttpResponseData<SSL> *httpResponseData = getHttpResponseData();
494
495
- return httpResponseData->remainingBodyLength();
+ return httpResponseData->maxRemainingBodyLength();
496
497
498
/* If you are messing around with sendfile you might want to override the offset. */
0 commit comments