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

HTTP/1.1 pipelining support for the server #151

Open
yoshuawuyts opened this issue Nov 5, 2020 · 1 comment
Open

HTTP/1.1 pipelining support for the server #151

yoshuawuyts opened this issue Nov 5, 2020 · 1 comment

Comments

@yoshuawuyts
Copy link
Member

According to the spec HTTP/1.1 must be able to handle pipelined requests on the server, even if it chooses never to initiate it or even send back pipelined responses. We should ensure we're able to handle this eventually in order to comply with the HTTP/1.1 spec. It's not a pressing issue since browsers don't pipeline requests, and most client only do so when opting in to — but we should probably get around to this eventually (:

@Diggsey
Copy link
Contributor

Diggsey commented Jan 23, 2021

I believe this doesn't work due to the use of a BufReader in fn decode, which results in a read past the end of the first pipelined request.

If the BufReader is removed, pipelined requests should work.

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