From: Willy Tarreau Date: Sat, 7 Mar 2009 10:53:44 +0000 (+0100) Subject: [BUG] rate-limit in defaults section was ignored X-Git-Tag: v1.3.16-rc1~17 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=39af0f663dcac5b20fe219d4cc83810cea3e58ad;p=thirdparty%2Fhaproxy.git [BUG] rate-limit in defaults section was ignored Just a missing initialisation of the field when creating a proxy. --- diff --git a/src/cfgparse.c b/src/cfgparse.c index 5f1f0bb53b..f34d0e3117 100644 --- a/src/cfgparse.c +++ b/src/cfgparse.c @@ -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++) {