]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: mux-quic: factorize QC_SF_UNKNOWN_PL_LENGTH set
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 8 Dec 2023 14:47:06 +0000 (15:47 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Tue, 12 Dec 2023 09:14:22 +0000 (10:14 +0100)
commit1adadc4d3f2155f4d8078a596db9d92ebaf9a790
tree59f04ed9656da2af6f027d77fd67fc692efcb4ef
parente772d3f40ff492bd9ec0efee568300aed013d382
MINOR: mux-quic: factorize QC_SF_UNKNOWN_PL_LENGTH set

When dealing with HTTP/1 responses without Content-Length nor chunked
encoding, flag QC_SF_UNKNOWN_PL_LENGTH is set on QCS. This prevent the
emission of a RESET_STREAM on shutw, instead resorting to a proper FIN
emission.

This code was duplicated both in H3 and hq-interop. Move it in common
qcs_http_snd_buf() to factorize it.
src/h3.c
src/hq_interop.c
src/qmux_http.c