mirror of
https://github.com/haproxy/haproxy.git
synced 2026-03-27 12:56:09 -04:00
MINOR: config: Relax tests on the configured size of small buffers
When small buffer size was greater than the default buffer size, an error was triggered. We now do the same than for large buffer. A warning is emitted and the small buffer size is set to 0 do disable small buffer allocation.
This commit is contained in:
parent
01b9b67d5c
commit
b71f70d548
1 changed files with 2 additions and 2 deletions
|
|
@ -2328,8 +2328,8 @@ int check_config_validity()
|
|||
else if (global.tune.bufsize_small > global.tune.bufsize) {
|
||||
ha_warning("invalid small buffer size %d bytes which is greater to default bufsize %d bytes.\n",
|
||||
global.tune.bufsize_small, global.tune.bufsize);
|
||||
err_code |= ERR_FATAL | ERR_ABORT;
|
||||
goto out;
|
||||
global.tune.bufsize_small = 0;
|
||||
err_code |= ERR_WARN;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue