BUG/MINOR: mux-h1: Always set the session on frontend h1 stream
authorChristopher Faulet <cfaulet@haproxy.com>
Wed, 30 Sep 2020 13:00:13 +0000 (15:00 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Thu, 8 Oct 2020 08:56:26 +0000 (10:56 +0200)
commit6eaa2f519edeeeda1a998bcb205fb553a8c22bc1
tree92cb56c48e38635363de11d10f395413382e5a1f
parentdf44c3916c29a0d53096eb9f6b3b977b41271d9f
BUG/MINOR: mux-h1: Always set the session on frontend h1 stream

The session is always defined for a frontend connection. When a new client
connection is established, the session is set for the first H1 stream. But on
keep-alived connections, it is not set for the followings H1 streams while it is
possible.

This patch is tagged as a bug because it fixes an inconsistency in the H1
streams creation. But it does not fixed a known bug.

This patch must be backported as far as 2.0.

(cherry picked from commit e9da975aabb0f2137bde7afbd020b300029ef28f)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
(cherry picked from commit 595a3f3b14ca1e5cae02d3e8530c88dc4bbbe6e4)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
src/mux_h1.c