commit | c6e7563b1aa77879a3da5a19e20ab39a7d75d4cb | [log] [tgz] |
---|---|---|
author | Christopher Faulet <cfaulet@haproxy.com> | Thu Jul 02 16:03:30 2020 +0200 |
committer | Christopher Faulet <cfaulet@haproxy.com> | Wed Jul 15 14:08:14 2020 +0200 |
tree | 7da15ef4e1d446609e86b9b65b33df33f4f724b2 | |
parent | 3d52f0f1f828acb2a74b3f13fcc3fa069106d09f [diff] |
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.