Skip to content

Introduced new chunked transfer encoding parser to remove chunk markers #720

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Mar 31, 2017
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Clarified and commented expression.
  • Loading branch information
umennel committed Dec 16, 2016
commit c70f774f96fd9d2e82d4fdffff6bd6a7bfbfd827
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@ struct chunk_encoding_parser {
ss << std::hex << range;
size_t size;
ss >> size;
chunk_size = (chunk_size << (range.size() * 4)) + size;
// New digits are appended as LSBs
chunk_size = (chunk_size << (range.size() * 4)) | size;
}

boost::iterator_range<
Expand Down