]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: cli: properly handle closed output
authorWilly Tarreau <w@1wt.eu>
Fri, 25 Sep 2015 18:06:08 +0000 (20:06 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 25 Sep 2015 19:16:03 +0000 (21:16 +0200)
commitc9e930accc9c8a9788c464c15127b3174e74d6fd
tree3a42b2c8e18a3d89586713852551014a57853900
parent68c00c71853de901eebca44d64623db4748dd532
BUG/MEDIUM: cli: properly handle closed output

Due to the code inherited from the early CLI mode with the non-interactive
code, the SHUTR status was only considered while waiting for a request,
which prevents the connection from properly being closed during a dump,
and the connection used to remain established. This issue didn't happen
in 1.5 because while this part was missed, the resynchronization performed
in process_session() would detect the situation and handle the cleanup.

No backport is needed.
src/dumpstats.c