From 32f680ee2d983c8ae7a8175557645ae05d93a4a7 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 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 {