Skip to content

expect_continuation_of_headers efficiency fix #1183

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

Conversation

deweerdt
Copy link
Member

If a frame is going to make the request exceed H2O_MAX_REQLEN, avoid
allocating the memory for it, and reject the stream right away, instead
of doing the alloc and memcpy.

If a frame is going to make the request exceed H2O_MAX_REQLEN, avoid
allocating the memory for it, and reject the stream right away, instead
of doing the alloc and memcpy.
@kazuho kazuho merged commit d9c4f99 into h2o:master Jan 31, 2017
@kazuho
Copy link
Member

kazuho commented Jan 31, 2017

Thank you for the PR!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants