From: Willy Tarreau Date: Sun, 8 Mar 2009 11:25:07 +0000 (+0100) Subject: [BUG] event_accept() must always wake the task up, even in health mode X-Git-Tag: v1.3.16-rc1~12 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=721fdbc381531d6f8bdc39065126482150f200a3;p=thirdparty%2Fhaproxy.git [BUG] event_accept() must always wake the task up, even in health mode event_accept() did not wake the task up in health mode, so that mode was not working anymore. --- diff --git a/src/client.c b/src/client.c index 40ae50d0a8..9bff17bf30 100644 --- a/src/client.c +++ b/src/client.c @@ -443,8 +443,7 @@ int event_accept(int fd) { * pass through task_wakeup(), because this one knows how to apply * priorities to tasks. */ - if (p->mode != PR_MODE_HEALTH) - task_wakeup(t, TASK_WOKEN_INIT); + task_wakeup(t, TASK_WOKEN_INIT); p->feconn++; /* beconn will be increased later */ if (p->feconn > p->feconn_max)