projects
/
haproxy-3.0.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
541b5c2
)
[BUG] fix typo in redispatched connection
author
Willy Tarreau
<w@1wt.eu>
Sun, 6 Jan 2008 22:46:19 +0000
(23:46 +0100)
committer
Willy Tarreau
<w@1wt.eu>
Sun, 6 Jan 2008 22:46:19 +0000
(23:46 +0100)
a copy-paste typo was present in the reconnection code responsible
for respatching. The client's FSM would not be re-evaluated if an
error occurred. It looks harmless but better fix it.
src/proto_http.c
patch
|
blob
|
history
diff --git
a/src/proto_http.c
b/src/proto_http.c
index
d69d8e2
..
30bdc39
100644
(file)
--- a/
src/proto_http.c
+++ b/
src/proto_http.c
@@
-2543,7
+2543,7
@@
int process_srv(struct session *t)
/* first, get a connection */
if (srv_redispatch_connect(t))
- return t->srv_state != SV_STIDLE;
+ return t->srv_state != SV_STCONN;
}
do {