mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2024-12-16 16:34:42 +00:00
[BUG] rate-limit in defaults section was ignored
Just a missing initialisation of the field when creating a proxy.
This commit is contained in:
parent
2ade301505
commit
39af0f663d
@ -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++) {
|
||||
|
Loading…
Reference in New Issue
Block a user