[BUG] rate-limit in defaults section was ignored

Just a missing initialisation of the field when creating a proxy.
This commit is contained in:
Willy Tarreau 2009-03-07 11:53:44 +01:00
parent 2ade301505
commit 39af0f663d

View 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++) {