]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: proxy: make soft_stop() also close FDs in LI_PAUSED state
authorWilly Tarreau <w@1wt.eu>
Tue, 10 Dec 2019 06:11:35 +0000 (07:11 +0100)
committerWilly Tarreau <w@1wt.eu>
Tue, 10 Dec 2019 09:43:31 +0000 (10:43 +0100)
commit67878d7bdcb88683bdbf6fba851901a31f348eb8
tree8fdfed5d0d9abdb319e4aeee99293a1cd56b2cbe
parentf950c2e97e999f2d4728389dbab2d0955a5cc993
BUG/MINOR: proxy: make soft_stop() also close FDs in LI_PAUSED state

The proxies' soft_stop() function closes the FDs in all opened states
except LI_PAUSED. This means that a transient error on a listener might
cause it to turn back to the READY state if it happens exactly when a
reload signal is received.

This must be backported to all supported versions.
src/proxy.c