]> git.ipfire.org Git - thirdparty/haproxy.git/commit
CLEANUP: backend: clarify the role of the init_mux variable in connect_server()
authorWilly Tarreau <w@1wt.eu>
Thu, 7 Aug 2025 14:07:37 +0000 (16:07 +0200)
committerOlivier Houchard <cognet@ci0.org>
Tue, 9 Sep 2025 17:01:24 +0000 (19:01 +0200)
commit7b4a7f92b5615f7059d65918e11e48e881bd0490
tree57a34bc6a213d37b91cdfee0078b6eca3261a3a9
parentff47ae60f3453e0c7dd3b7546bf7e7073c64a0ec
CLEANUP: backend: clarify the role of the init_mux variable in connect_server()

The init_mux variable is currently used in a way that's not super easy
to grasp. It's set a bit too late and requires to know a lot of info at
once. Let's first rename it to "may_start_mux_now" to clarify its role,
as the purpose is not to *force* the mux to be initialized now but to
permit it to do it.
src/backend.c