From 00559e71175de4028a677e8d2675a842e2000c7e 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 d69d8e2ee..30bdc39ad 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 {