mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-02-18 11:47:03 +00:00
[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:
parent
26c250683f
commit
721fdbc381
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user