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

Add HTTP 1.0 support #575

Closed
sdeleuze opened this issue Dec 23, 2016 · 2 comments
Closed

Add HTTP 1.0 support #575

sdeleuze opened this issue Dec 23, 2016 · 2 comments

Comments

@sdeleuze
Copy link

When benchmarking a Spring Web Reactive + RxNetty server application with a simple ab -n 1 -c 1 http://localhost:8083/items/10 command, it blocks indefinitely while it works perfectly fine with curl or wrk. I think this is because ab is using HTTP 1.0 (we had the same issue on Reactor Netty). More details on https://jira.spring.io/browse/SPR-14964.

Could you confirm HTTP 1.0 is not supported yet?

@NiteshKant
Copy link
Member

Use HttpServer.sendHttp10ResponseFor10Request(true) to enable sending HTTP/1.0 responses for HTTP/1.0 requests. Javadoc of that method explains the reasoning behind this behavior.

@sdeleuze
Copy link
Author

Ok thanks

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

No branches or pull requests

2 participants