]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: connection: pass the thread number to conn_delete_from_tree()
authorWilly Tarreau <w@1wt.eu>
Fri, 12 Sep 2025 14:47:12 +0000 (16:47 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 16 Sep 2025 07:23:46 +0000 (09:23 +0200)
commit95b8adff670081f0a83493bca52c31c16ee76068
tree5f6aacfb50ca61e9293a0fe5b12564a0b3c6eebc
parentefe519ab895042bd7efa1077bc36b3e0fec61520
MINOR: connection: pass the thread number to conn_delete_from_tree()

We'll soon need to choose the server's root based on the connection's
flags, and for this we'll need the thread it's attached to, which is
not always the current one. This patch simply passes the thread number
from all callers. They know it because they just set the idle_conns
lock on it prior to calling the function.
include/haproxy/connection.h
src/backend.c
src/connection.c
src/mux_fcgi.c
src/mux_h1.c
src/mux_h2.c
src/mux_quic.c
src/mux_spop.c
src/server.c
src/ssl_sock.c