mirror of
https://github.com/haproxy/haproxy.git
synced 2026-04-05 17:14:59 -04:00
[BUG] fix broken health-checks since switch to timeval
Health-checks were broken because of a return which was unexpectedly removed.
This commit is contained in:
parent
3c5340c35b
commit
8eee9c8457
1 changed files with 1 additions and 0 deletions
|
|
@ -410,6 +410,7 @@ void process_chk(struct task *t, struct timeval *next)
|
|||
tv_ms_add(&t->expire, &now, s->inter);
|
||||
task_queue(t); /* restore t to its place in the task list */
|
||||
*next = t->expire;
|
||||
return;
|
||||
}
|
||||
else if (errno != EALREADY && errno != EISCONN && errno != EAGAIN) {
|
||||
s->result = -1; /* a real error */
|
||||
|
|
|
|||
Loading…
Reference in a new issue