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 18:11:26 +0000 (19:11 +0100)
commit6967d100b6fe32bbe23c3e5d078a529380d54c37
treed21aa9f139ade055eae83ac51877cae4587ec158
parent5829fe014eeb56b5cf54fb11b59ff51020e2a380
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.

(cherry picked from commit 67878d7bdcb88683bdbf6fba851901a31f348eb8)
Signed-off-by: Willy Tarreau <w@1wt.eu>
src/proxy.c