mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-09-21 13:51:26 +02: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
@ -410,6 +410,7 @@ void process_chk(struct task *t, struct timeval *next)
|
|||||||
tv_ms_add(&t->expire, &now, s->inter);
|
tv_ms_add(&t->expire, &now, s->inter);
|
||||||
task_queue(t); /* restore t to its place in the task list */
|
task_queue(t); /* restore t to its place in the task list */
|
||||||
*next = t->expire;
|
*next = t->expire;
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
else if (errno != EALREADY && errno != EISCONN && errno != EAGAIN) {
|
else if (errno != EALREADY && errno != EISCONN && errno != EAGAIN) {
|
||||||
s->result = -1; /* a real error */
|
s->result = -1; /* a real error */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user