Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Commitfa76515

Browse files
ekigwanadeanberris
authored andcommitted
content_length type was std::size_t and was changed to long long in (cpp-netlib#753)
commitf8ff77d. It is also initialized to-1 in parse_headers_real(...).Signed-off-by: Edward Kigwana <ekigwana@gmail.com>
1 parentf872859 commitfa76515

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎boost/network/protocol/http/client/connection/async_protocol_handler.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -348,9 +348,9 @@ struct http_async_protocol_handler {
348348
}
349349
returnfalse;
350350
}
351-
351+
352352
inlineboolparse_content_length_complete()const {
353-
returnthis->partial_parsed.length() >=this->content_length;
353+
returnstatic_cast<std::ptrdiff_t>(this->partial_parsed.length()) >=this->content_length;
354354
}
355355

356356
boolparse_chunk_encoding_complete()const {

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp