Visitar URL original
http_async_protocol_handler: use unsigned type for content length by anonimal · Pull Request #723 · cpp-netlib/cpp-netlib · GitHub
Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
http_async_protocol_handler: use unsigned type for content length
Resolves comparison between signed and unsigned integer expressions

References #721
  • Loading branch information
anonimal committed Jan 8, 2017
commit 0398fc94a97a4e37b2bb34d9a137447f778b634a
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@ struct http_async_protocol_handler {
bool is_chunk_encoding;
bool is_chunk_end;
bool is_content_length;
long long content_length;
long long unsigned content_length;
};

} // namespace impl
Expand Down