]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: server: Factorize code to deal with connections removed from an idle list
authorChristopher Faulet <cfaulet@haproxy.com>
Thu, 2 Jul 2020 14:03:30 +0000 (16:03 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 15 Jul 2020 12:08:14 +0000 (14:08 +0200)
commitc6e7563b1aa77879a3da5a19e20ab39a7d75d4cb
tree7da15ef4e1d446609e86b9b65b33df33f4f724b2
parent3d52f0f1f828acb2a74b3f13fcc3fa069106d09f
MINOR: server: Factorize code to deal with connections removed from an idle list

The srv_del_conn_from_list() function is now responsible to update the server
counters and the connection flags when a connection is removed from an idle list
(safe, idle or available). It is called when a connection is released or when a
connection is set as private. This function also removes the connection from the
idle list if necessary.
include/haproxy/connection.h
include/haproxy/server.h