]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: h3/hq-interop: restore function for standalone FIN receive
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 27 Feb 2025 10:33:21 +0000 (11:33 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 7 Mar 2025 11:06:26 +0000 (12:06 +0100)
commit861b11334cd4013e89506601482962a726a07e28
tree54a60b35c6b18c7e0aa4f744f6e337a00b3fca4d
parent6f95d0dad003a4c3b37f1b3ceeb4689fc4fb89f3
MINOR: h3/hq-interop: restore function for standalone FIN receive

Previously, a function qcs_http_handle_standalone_fin() was implemented
to handle a received standalone FIN, bypassing app_ops layer decoding.
However, this was removed as app_ops layer interaction is necessary. For
example, HTTP/3 checks that FIN is never sent on the control uni stream.

This patch reintroduces qcs_http_handle_standalone_fin(), albeit in a
slightly diminished version. Most importantly, it is now the
responsibility of the app_ops layer itself to use it, to avoid the
shortcoming described above.

The main objective of this patch is to be able to support standalone FIN
in HTTP/0.9 layer. This is easily done via the reintroduction of
qcs_http_handle_standalone_fin() usage. This will be useful to perform
testing, as standalone FIN is a corner case which can easily be broken.
include/haproxy/qmux_http.h
src/h3.c
src/hq_interop.c
src/qmux_http.c