]> git.ipfire.org Git - thirdparty/haproxy.git/commit
CLEANUP: backend: invert the condition to start the mux in connect_server()
authorWilly Tarreau <w@1wt.eu>
Thu, 7 Aug 2025 14:30:38 +0000 (16:30 +0200)
committerOlivier Houchard <cognet@ci0.org>
Tue, 9 Sep 2025 17:01:24 +0000 (19:01 +0200)
commit4aaf0bfbced22d706af08725f977dcce9845d340
treedd88854022c8dd92170902319a4de246e3b79865
parent7b4a7f92b5615f7059d65918e11e48e881bd0490
CLEANUP: backend: invert the condition to start the mux in connect_server()

Instead of trying to switch from delayed start to instant start based
on a single condition, let's do the opposite and preset the condition
to instant start and detect what could cause it to be delayed, thus
falling back to the slow mode. The condition remains exactly the
inverted one and better matches the comment about ALPN being the only
cause of such a delay.
src/backend.c