]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: connection: define conn_select_mux_fe()
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Mon, 18 May 2026 14:57:05 +0000 (16:57 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Tue, 19 May 2026 16:33:54 +0000 (18:33 +0200)
commit86ffbaa0f52b55c379a96fecf9728cd196355932
tree1bfefb1110e73a1101f454ce778b49d7c8e14882
parent6aab6d4e980ef0a11f0536f72a39b6a6b8e3fa17
MINOR: connection: define conn_select_mux_fe()

Define a new function conn_select_mux_fe().

The objective is to have a preliminary function to determine the MUX
which will be used without initializing it. This will be useful for MUX
which relies on a specific XPRT handshake prior to its startup, which is
the case for QMux protocol.

The code of conn_select_mux_fe() is identical to the beginning of
conn_install_mux_fe() with a similar MUX selection logic. However,
connection MUX initialization is not performed in this case. In a future
patch, both functions should be merged together to reduce code
duplication.
include/haproxy/connection.h
src/connection.c