Skip to content
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

Consider buffering HTTP request bodies #24

Open
jroper opened this issue Nov 16, 2016 · 1 comment
Open

Consider buffering HTTP request bodies #24

jroper opened this issue Nov 16, 2016 · 1 comment

Comments

@jroper
Copy link
Member

jroper commented Nov 16, 2016

Due to the crossing of thread contexts involved with reactive streams, it can be expensive to process small bodies with a reactive streams implementation, it would be a lot faster if the body was passed along with the HTTP header (as part of the FullHttpRequest). The HTTP streams handler could do this by, if the Content-Length is less than a configured threshold, buffer it and emit it in a FullHttpRequest.

@jlouvel
Copy link

jlouvel commented Nov 16, 2016

Sounds like a great idea

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

No branches or pull requests

2 participants