Skip to content

Commit ead4161

Browse files
authored
Merge pull request #723 from anonimal/fix-signed-unsigned-comparison
http_async_protocol_handler: use unsigned type for content length
2 parents 1277fa6 + 0398fc9 commit ead4161

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,7 @@ struct http_async_protocol_handler {
416416
bool is_chunk_encoding;
417417
bool is_chunk_end;
418418
bool is_content_length;
419-
long long content_length;
419+
long long unsigned content_length;
420420
};
421421

422422
} // namespace impl

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy