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.15~71 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=00559e71175de4028a677e8d2675a842e2000c7e;p=thirdparty%2Fhaproxy.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 d69d8e2eea..30bdc39ade 100644 --- 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 {