mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2026-05-04 12:41:00 +02: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
@ -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…
x
Reference in New Issue
Block a user