From: Willy Tarreau Date: Sun, 6 Jan 2008 22:46:19 +0000 (+0100) Subject: [BUG] fix typo in redispatched connection X-Git-Tag: v1.3.14.2~14 X-Git-Url: http://www.kaiwu.me/postgresql/commit/?a=commitdiff_plain;h=32f680ee2d983c8ae7a8175557645ae05d93a4a7;p=haproxy.git [BUG] fix typo in redispatched connection 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. --- diff --git a/src/proto_http.c b/src/proto_http.c index c26ba477c..98ce082cd 100644 --- a/src/proto_http.c +++ b/src/proto_http.c @@ -2519,7 +2519,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 {