]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: mux-quic: remove dedicated function to handle standalone FIN
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 11 May 2023 14:49:28 +0000 (16:49 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 12 May 2023 13:50:30 +0000 (15:50 +0200)
commit93dd23cab4b0e5c0dde440c98e31c33aa1221f95
tree22d80c2fcccef7842f3a2f5aca247fc0233301cc
parent25cf19d5c80cc61381a18afdc3dd50428e5f8b95
MINOR: mux-quic: remove dedicated function to handle standalone FIN

Remove QUIC MUX function qcs_http_handle_standalone_fin(). The purpose
of this function was only used when receiving an empty STREAM frame with
FIN bit. Besides, it was called by each application protocol which could
have different approach and render the function purpose unclear.

Invocation of qcs_http_handle_standalone_fin() have been replaced by
explicit code in both H3 and HTTP/0.9 module. In the process, use
htx_set_eom() to reliably put EOM on the HTX message.

This should be backported up to 2.7, along with the previous patch which
introduced htx_set_eom().
include/haproxy/qmux_http.h
src/h3.c
src/hq_interop.c
src/qmux_http.c