projects
/
haproxy-2.3.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3c5340c
)
[BUG] fix broken health-checks since switch to timeval
author
Willy Tarreau
<w@1wt.eu>
Mon, 14 May 2007 01:40:11 +0000
(
03:40
+0200)
committer
Willy Tarreau
<w@1wt.eu>
Mon, 14 May 2007 01:40:11 +0000
(
03:40
+0200)
Health-checks were broken because of a return which was unexpectedly removed.
src/checks.c
patch
|
blob
|
history
diff --git
a/src/checks.c
b/src/checks.c
index
91dd531
..
4c8a009
100644
(file)
--- 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 */