Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 172049e

Browse filesBrowse files
committed
Also set iBodyLengthConsumed to zero when parsing
1 parent fe46191 commit 172049e
Copy full SHA for 172049e

File tree

Expand file treeCollapse file tree

1 file changed

+1
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-0
lines changed

‎src/HttpClient.cpp

Copy file name to clipboardExpand all lines: src/HttpClient.cpp
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -686,6 +686,7 @@ int HttpClient::readHeader()
686686
// Just in case we get multiple Content-Length headers, this
687687
// will ensure we just get the value of the last one
688688
iContentLength = 0;
689+
iBodyLengthConsumed = 0;
689690
}
690691
}
691692
else if ((iContentLengthPtr == kContentLengthPrefix) && (c == '\r'))

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.