BUG/MINOR: stconn: bs.id and fs.id had their dependencies incorrect
authorWilly Tarreau <w@1wt.eu>
Tue, 30 Jul 2024 15:54:26 +0000 (17:54 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Tue, 3 Sep 2024 16:31:22 +0000 (18:31 +0200)
commit01aeb7495f301a062d92e4b440f7ea9805f7467d
treed6dddeb4acfb3b1f507f9481e52dd112242bb301
parent40142d2b950a3be21cdef2c5fc35c15ded0b7e0b
BUG/MINOR: stconn: bs.id and fs.id had their dependencies incorrect

The backend depends on the response and the frontend on the request, not
the other way around. In addition, they used to depend on L6 (hence
contents in the channel buffers) while they should only depend on L5
(permanent info known in the mux).

This came in 2.9 with commit 24059615a7 ("MINOR: Add sample fetches to
get the frontend and backend stream ID") so this can be backported there.

(cherry picked from commit 61dd0156c82ea051779e6524cad403871c31fc5a)
Signed-off-by: Willy Tarreau <w@1wt.eu>
(cherry picked from commit 376b147ffffef0a1f898d72d1d70f10f07d2e5a4)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
src/stconn.c