async-h1 icon indicating copy to clipboard operation
async-h1 copied to clipboard

HTTP/1.1 pipelining support for the server

Open yoshuawuyts opened this issue 4 years ago • 1 comments

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 (:

yoshuawuyts avatar Nov 05 '20 11:11 yoshuawuyts

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.

Diggsey avatar Jan 23 '21 18:01 Diggsey