]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: peers: recent applet changes broke peers updates scheduling
authorWilly Tarreau <w@1wt.eu>
Mon, 27 Apr 2015 16:40:14 +0000 (18:40 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 27 Apr 2015 16:42:17 +0000 (18:42 +0200)
commite5843b383d3f584b22186be708ac7d69707c8d4b
treecba6ea41322cddd9082c90beb7e2f43d07918e59
parent6e2979ca31920881716f2e2683e3a247cc12d39a
BUG/MEDIUM: peers: recent applet changes broke peers updates scheduling

Since appctx are scheduled out of streams, it's pointless to wake up
the task managing the stream to push updates, they won't be seen. In
fact unit tests work because silent sessions are restarted after 5s of
idle and the exchange is correctly scheduled during startup!

So we need to notify the appctx instead. For this we add a pointer to
the appctx in the peer session.

No backport is needed of course.
include/types/peers.h
src/peers.c