]> git.kaiwu.me - haproxy.git/commitdiff
[BUG] failed conns were sometimes incremented in the frontend!
authorWilly Tarreau <w@1wt.eu>
Mon, 10 Dec 2007 14:25:35 +0000 (15:25 +0100)
committerWilly Tarreau <w@1wt.eu>
Sat, 8 Mar 2008 20:51:23 +0000 (21:51 +0100)
(cherry picked from commit 50fd1e1e3bf7cdd383a906c511a2e77e9ac5205d)

src/proto_http.c

index 5977f8d4b14b0fb60d994a2273f1311eb5b46555..9f016af41c813c14cdffc9e49e74a8b2af9d7aa8 100644 (file)
@@ -2442,7 +2442,7 @@ int process_srv(struct session *t)
                                                           503, error_message(t, HTTP_ERR_503));
                                        if (t->srv)
                                                t->srv->failed_conns++;
-                                       t->fe->failed_conns++;
+                                       t->be->failed_conns++;
                                        return 1;
                                }
                        }