MINOR: connection: simplify removal of idle conns from their trees
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Mon, 21 Aug 2023 12:24:17 +0000 (14:24 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 25 Aug 2023 13:57:48 +0000 (15:57 +0200)
commit77ac8eb4a6d0337d83fbd4448a1ed62988d4610a
treef7c345581c0e52e96b4c502f8842b54830150003
parentf20f85f4d7c5515ca7e9cd7ed0287e96c1403d96
MINOR: connection: simplify removal of idle conns from their trees

Small change of API for conn_delete_from_tree(). Now the connection
instance is taken as argument instead of its inner node.

No functional change introduced with this commit. This simplifies
slightly invocation of conn_delete_from_tree(). The most useful changes
is that this function will be extended in the next patch to be able to
remove the connection from its new idle list at the same time as in its
idle tree.
include/haproxy/connection.h
src/backend.c
src/connection.c
src/mux_fcgi.c
src/mux_h1.c
src/mux_h2.c
src/server.c
src/ssl_sock.c