From 721fdbc381531d6f8bdc39065126482150f200a3 Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Sun, 8 Mar 2009 12:25:07 +0100 Subject: [PATCH] [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. --- src/client.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/client.c b/src/client.c index 40ae50d0a..9bff17bf3 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)