commit | 3d52f0f1f828acb2a74b3f13fcc3fa069106d09f | [log] [tgz] |
---|---|---|
author | Christopher Faulet <cfaulet@haproxy.com> | Thu Jul 02 15:45:56 2020 +0200 |
committer | Christopher Faulet <cfaulet@haproxy.com> | Wed Jul 15 14:08:14 2020 +0200 |
tree | f4ebc283935e21de79a40f5c9eb2bd3fded9a18d | |
parent | 15979619c410fd0e4638d935360c22eef8e8ce39 [diff] |
MINOR: server: Factorize code to deal with reuse of server idle connections The srv_use_idle_conn() function is now responsible to update the server counters and the connection flags when an idle connection is reused. The same function is called when a new connection is created. This simplifies a bit the connect_server() function.