BUG/MEDIUM: h1: Allow reception if we have early data
authorOlivier Houchard <ohouchard@haproxy.com>
Tue, 9 Sep 2025 15:32:18 +0000 (17:32 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 1 Oct 2025 14:48:35 +0000 (16:48 +0200)
commitaa73c875d7618cdd9c009e3f76fce3861da4e6ec
treef8af3f98103fae3764ba65831f68122eddfea1cb
parent53a26cfc46a1ee0c5eff0c2d172e17f0fcb39791
BUG/MEDIUM: h1: Allow reception if we have early data

In h1_recv_allowed(), do not forbid the reception if we are yet to
complete the connection, if we have received early data on it. That way,
we can deal with them right away, instead of waiting for the handshake
to be done.

This should be backported up to 2.8.

(cherry picked from commit aa25ddb773e484793a5c245bfa3f98b917c215be)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
(cherry picked from commit 1e4b80a8be585024e1993c6fdd460edcbf239d12)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
(cherry picked from commit 00beb362dde7fad080a3e0e768738bfef7f46c39)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
src/mux_h1.c