apache / trafficserver

Apache Traffic Serverâ„¢ is a fast, scalable and extensible HTTP/1.1 and HTTP/2 compliant caching proxy server.
https://trafficserver.apache.org/
Apache License 2.0
1.74k stars 781 forks source link

Fix pipelined chunked parsing. #11461

Closed bneradt closed 1 week ago

bneradt commented 1 week ago

For chunked bodies, we overly aggressively consumed bytes from the client side reader buffer, causing us to drop a potentially future pipelined request after the chunked body. This fixes how we consume chunked body bytes so that a pipelined request is not dropped.


Making a draft for now while I figure out how to address the buffered request use case that the body_buffer test fails on.

bneradt commented 1 week ago

A separate future PR will address this.