From: Willy Tarreau Date: Mon, 14 May 2007 01:40:11 +0000 (+0200) Subject: [BUG] fix broken health-checks since switch to timeval X-Git-Tag: v1.3.11.2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8eee9c84574dfe52da61af969231e09df0682e7d;p=thirdparty%2Fhaproxy.git [BUG] fix broken health-checks since switch to timeval Health-checks were broken because of a return which was unexpectedly removed. --- 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 */