Skip to content

Commit d0b022b

Browse files
Rename remainingBodyLength to maxRemainingBodyLength
1 parent c10bf7e commit d0b022b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/HttpParser.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -616,7 +616,7 @@ struct HttpParser {
616616

617617
public:
618618
/* Returns the remaining body length if set via content-length, UINT64_MAX if transfer-encoding is chunked, or 0 if no body */
619-
uint64_t remainingBodyLength() {
619+
uint64_t maxRemainingBodyLength() {
620620
if (isParsingChunkedEncoding(remainingStreamingBytes)) {
621621
return UINT64_MAX;
622622
}

0 commit comments

Comments
 (0)