Skip to content

Commit a1ef092

Browse files
Rename remainingBodyLength to maxRemainingBodyLength
1 parent d0b022b commit a1ef092

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/HttpResponse.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -489,10 +489,10 @@ struct HttpResponse : public AsyncSocket<SSL> {
489489
}
490490

491491
/* 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() {
492+
uint64_t maxRemainingBodyLength() {
493493
HttpResponseData<SSL> *httpResponseData = getHttpResponseData();
494494

495-
return httpResponseData->remainingBodyLength();
495+
return httpResponseData->maxRemainingBodyLength();
496496
}
497497

498498
/* If you are messing around with sendfile you might want to override the offset. */

0 commit comments

Comments
 (0)