]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: backend: Defer conn_xprt_start() after mux creation
authorOlivier Houchard <ohouchard@haproxy.com>
Fri, 7 Nov 2025 10:24:14 +0000 (11:24 +0100)
committerOlivier Houchard <cognet@ci0.org>
Fri, 7 Nov 2025 10:40:52 +0000 (11:40 +0100)
commit25559e70554b442892cb73eaff08fee32422bd02
tree70789c6ad7a8f7a0767766afdec7a7ee557d8859
parent3bc90d01d1e223a428b4a4fd3c2c68e9c214d2ce
MEDIUM: backend: Defer conn_xprt_start() after mux creation

In connect_server(), defer the call to conn_xprt_start() until after we
had a chance to create the mux. The xprt can behave differently
depending on if a mux is or is not available at this point, as if it is,
it may want to wait until some data comes from the mux.

This does not need to be backported.
src/backend.c