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:
Christopher Faulet 2019-04-23 15:39:32 +02:00
parent 5e1a9d715e
commit 371723b0c2

View File

@ -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 = {