]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: config: continue to rely on DEFAULT_MAXCONN to set the minimum maxconn
authorWilly Tarreau <w@1wt.eu>
Wed, 13 Mar 2019 09:10:49 +0000 (10:10 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 13 Mar 2019 09:10:49 +0000 (10:10 +0100)
commitdf23c0ce4592fd664b3cf9b87a5bb8975e6ca6b7
tree2b4d8a03e61a39f6ce185a1c653c2cda278bcfed
parentca783d4ee65c308d2f820c526082e1bfc01c6e31
MINOR: config: continue to rely on DEFAULT_MAXCONN to set the minimum maxconn

Some packages used to rely on DEFAULT_MAXCONN to set the default global
maxconn value to use regardless of the initial ulimit. The recent changes
made the lowest bound set to 100 so that it is compatible with almost any
environment. Now that DEFAULT_MAXCONN is not needed for anything else, we
can use it for the lowest bound set when maxconn is not configured. This
way it retains its original purpose of setting the default maxconn value
eventhough most of the time the effective value will be higher thanks to
the automatic computation based on "ulimit -n".
include/common/defaults.h
src/haproxy.c