]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: hq-interop: properly handle incomplete request
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 27 Feb 2025 10:34:39 +0000 (11:34 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 27 Feb 2025 16:34:06 +0000 (17:34 +0100)
commit3cc095a011d5d4231f14cf4b1cf6d3b8cf1bcbeb
tree2b36fa75efb7c73b1001cca2a61f1d92d46a7f11
parent0aa35289b3b51e09a5757c9991212ec416d281f2
MINOR: hq-interop: properly handle incomplete request

Extends HTTP/0.9 layer to be able to deal with incomplete requests.
Instead of an error, 0 is returned. Thus, instead of a stream closure.
QUIC-MUX may retry rcv_buf operation later if more data is received,
similarly to HTTP/3 layer.

Note that HTTP/0.9 is only used for testing and interop purpose. As
such, this limitation is not considered as a bug. It is probably not
worth to backport it.
src/hq_interop.c