]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: mux-quic: set expect data only on frontend side
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Tue, 10 Jun 2025 14:37:11 +0000 (16:37 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 12 Jun 2025 09:28:54 +0000 (11:28 +0200)
commitf8d096c05f65b86fcbc930f4249df0f1e3066433
treeaabfde3aee0bf4d34de8b5164ffb6e6f3417bb7d
parente8775d51dfc3f8f02c0dbf0f9ef43c21a1c10c7f
MINOR: mux-quic: set expect data only on frontend side

Stream data layer is notified that data is expected when FIN is
received, which marks the end of the HTTP request. This prepares data
layer to be able to handle the expected HTTP response.

Thus, this step is only relevant on frontend side. On backend side, FIN
marks the end of the HTTP response. No further content is expected, thus
expect data should not be set in this case.

Note that se_expect_data() invokation via qcs_attach_sc() is not
protected. This is because this function will only be called during
request headers parsing which is performed on the frontend side.
src/mux_quic.c