From: Christopher Faulet Date: Tue, 23 Apr 2019 13:39:32 +0000 (+0200) Subject: BUG/MINOR: spoe: Don't systematically wakeup SPOE stream in the applet handler X-Git-Tag: v2.0-dev3~185 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=371723b0c2a2e38ae14e1e6f6a7581ef3e2491cf;p=thirdparty%2Fhaproxy.git 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. --- diff --git a/src/flt_spoe.c b/src/flt_spoe.c index 0f72de8cde..63d40a6fd7 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 = {