[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.
This commit is contained in:
Willy Tarreau 2009-03-08 12:25:07 +01:00
parent 26c250683f
commit 721fdbc381

View File

@ -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)