]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
[BUG] rate-limit in defaults section was ignored
authorWilly Tarreau <w@1wt.eu>
Sat, 7 Mar 2009 10:53:44 +0000 (11:53 +0100)
committerWilly Tarreau <w@1wt.eu>
Sat, 7 Mar 2009 10:53:44 +0000 (11:53 +0100)
Just a missing initialisation of the field when creating a proxy.

src/cfgparse.c

index 5f1f0bb53ba8a2085c793d80f9a73fbd4fb5ba8f..f34d0e31170f5170246b5d2d34ff31563348256f 100644 (file)
@@ -681,6 +681,7 @@ int cfg_parse_listen(const char *file, int linenum, char **args, int inv)
                if (curproxy->cap & PR_CAP_FE) {
                        curproxy->maxconn = defproxy.maxconn;
                        curproxy->backlog = defproxy.backlog;
+                       curproxy->fe_maxsps = defproxy.fe_maxsps;
 
                        /* initialize error relocations */
                        for (rc = 0; rc < HTTP_ERR_SIZE; rc++) {