]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: cli: wake up the CLI's task after a timeout update
authorWilly Tarreau <w@1wt.eu>
Thu, 24 Nov 2016 14:35:16 +0000 (15:35 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 24 Nov 2016 14:35:16 +0000 (15:35 +0100)
commit2b5e6315a3bf9365d20e3f9e503ba914fc514eeb
tree1adae7a3071e33214850c7d23b6a8a5a8bc210f0
parent74a5a9828b7eba80248573e110bc8ed388d8b692
BUG/MINOR: cli: wake up the CLI's task after a timeout update

When the CLI's timeout is reduced, nothing was done to take the task
up to update it. In the past it used to run inside process_stream()
so it used to be refreshed. This is not the case anymore since we have
the appctx so the task needs to be woken up in order to recompute the
new expiration date.

This fix needs to be backported to 1.6.
src/dumpstats.c