]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: srv: close all idle connections on shutdown
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 29 Apr 2021 15:30:05 +0000 (17:30 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 5 May 2021 12:33:51 +0000 (14:33 +0200)
commit3109ccfe70c99ae29387f3a25f49eb83a9f05504
tree12d5c48a0e225c6d66b0b8a9bec7ee7b7f3fc8c2
parent04b57a7d1bbc345769658c65f19b20742bfa7a08
MINOR: srv: close all idle connections on shutdown

Implement a function to close all server idle connections. This function
is called via a global deinit server handler.

The main objective is to prevents from leaving sockets in TIME_WAIT
state. To limit the set of operations on shutdown and prevents
tasks rescheduling, only the ctrl stack closing is done.
src/server.c