]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: mux-pt: Test conn flags instead of sedesc ones to perform a full close
authorChristopher Faulet <cfaulet@haproxy.com>
Tue, 16 Apr 2024 06:22:36 +0000 (08:22 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 19 Apr 2024 13:34:27 +0000 (15:34 +0200)
commit293b8f7530065445c965e1b62493cdbd32829e48
tree4d60752fe6fa428ab9ef5cc51d5862a99765f0d8
parentf58883002c6fd90b3bf8a70e779b7e72e76cec2c
MINOR: mux-pt: Test conn flags instead of sedesc ones to perform a full close

In .shutr and .shutw callback functions, we must rely on the connection
flags (CO_FL_SOCK_RD_SH/WR_SH) to decide to fully close the connection
instead of using sedesc flags. At the end, for the PT multiplexer, it is
equivalent. But it is more logicial and consistent this way.
src/mux_pt.c