mirror of
https://github.com/haproxy/haproxy.git
synced 2026-04-20 22:01:49 -04: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
1 changed files with 1 additions and 0 deletions
|
|
@ -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 a new issue