pistache icon indicating copy to clipboard operation
pistache copied to clipboard

[Feature Request] HTTP Pipelining

Open romainreignier opened this issue 2 years ago • 0 comments

Currently, Pistache does not support HTTP Pipelining: https://en.wikipedia.org/wiki/HTTP_pipelining

With a client using Qt's QNetworkRequest with Pipelining enabled, I am missing several requests.

From the code, the buffer is clear once the first request is parsed, losing the other requests in the same buffer: https://github.com/pistacheio/pistache/blob/e619e7e90bb313df196cde55db978e843d5d2cfe/src/common/http.cc#L1107

romainreignier avatar Feb 02 '22 14:02 romainreignier