From 8eee9c84574dfe52da61af969231e09df0682e7d Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Mon, 14 May 2007 03:40:11 +0200 Subject: [PATCH] [BUG] fix broken health-checks since switch to timeval Health-checks were broken because of a return which was unexpectedly removed. --- src/checks.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/checks.c b/src/checks.c index 91dd5319d9..4c8a009718 100644 --- a/src/checks.c +++ b/src/checks.c @@ -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 */