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
Use strongly typed enum.
  • Loading branch information
umennel committed Dec 15, 2016
commit 9586a81e1c49c157078679cea5fea6bc965a505a
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ template <class Tag>
struct chunk_encoding_parser {
chunk_encoding_parser() : state(state_t::header), chunk_size(0) {}

enum state_t { header, header_end, data, data_end };
enum class state_t { header, header_end, data, data_end };

state_t state;
size_t chunk_size;
Expand Down