From cd40aeeeb971f0789f74426b8bf121e59dbaefd2 Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Sun, 6 Jan 2008 23:46:19 +0100 Subject: [PATCH] [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. --- src/proto_http.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/proto_http.c b/src/proto_http.c index ab440d559..b82b14643 100644 --- a/src/proto_http.c +++ b/src/proto_http.c @@ -2500,7 +2500,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 { -- 2.47.3