Skip to content

Cherry picked relevant chunked transfer encoding commits from master #833

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
Prev Previous commit
Next Next commit
Clarified and commented expression.
  • Loading branch information
umennel committed Mar 31, 2018
commit 1289f48208cd11e16923a3875ec7a0994eb2f86e
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