mirror of
https://github.com/haproxy/haproxy.git
synced 2026-07-15 20:03:33 -04:00
BUG/MINOR: spoe: Don't systematically wakeup SPOE stream in the applet handler
This can lead to wakeups in loop between the SPOE stream and the SPOE applets waiting to receive agent messages (mainly AGENT-HELLO and AGENT-DISCONNECT). This patch must be backported to 1.9 and 1.8.
This commit is contained in:
parent
5e1a9d715e
commit
371723b0c2
1 changed files with 0 additions and 2 deletions
|
|
@ -1943,8 +1943,6 @@ spoe_handle_appctx(struct appctx *appctx)
|
|||
|
||||
if (SPOE_APPCTX(appctx)->task->expire != TICK_ETERNITY)
|
||||
task_queue(SPOE_APPCTX(appctx)->task);
|
||||
si_oc(si)->flags |= CF_READ_DONTWAIT;
|
||||
task_wakeup(si_strm(si)->task, TASK_WOKEN_IO);
|
||||
}
|
||||
|
||||
struct applet spoe_applet = {
|
||||
|
|
|
|||
Loading…
Reference in a new issue