]> git.ipfire.org Git - thirdparty/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>
Fri, 15 Feb 2008 09:09:15 +0000 (10:09 +0100)
src/proto_http.c

index 6ee1c587a008a7d00029e0da43865efbef480b03..0fa40cc217dd602c85aa9ed55f66325f6b7de259 100644 (file)
@@ -2492,7 +2492,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;
                                }
                        }