From 371723b0c2a2e38ae14e1e6f6a7581ef3e2491cf Mon Sep 17 00:00:00 2001 From: Christopher Faulet Date: Tue, 23 Apr 2019 15:39:32 +0200 Subject: [PATCH] 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. --- src/flt_spoe.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/flt_spoe.c b/src/flt_spoe.c index 0f72de8cd..63d40a6fd 100644 --- a/src/flt_spoe.c +++ b/src/flt_spoe.c @@ -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 = {