commit | 403dce8e5a912bb3d2d78b62e3252b294d894de5 | [log] [tgz] |
---|---|---|
author | Amaury Denoyelle <adenoyelle@haproxy.com> | Thu Jul 29 15:39:43 2021 +0200 |
committer | Amaury Denoyelle <adenoyelle@haproxy.com> | Fri Aug 06 11:08:24 2021 +0200 |
tree | e45b333f48c03e02d0d4264de015b0e238ed116e | |
parent | 3c2ab1a0d439b289f2bb7f7cbf68f5b4646a5d8d [diff] |
MINOR: check: do not increment global maxsock at runtime global maxsock is used to estimate a number of fd to reserve for internal use, such as checks. It is incremented at startup with the info from the config file. Disable this incrementation in checks functions at runtime. First, it currently serves no purpose to increment it after startup. Worse, it may lead to out-of-bound accesse on the fdtab. This will be useful to initiate checks for dynamic servers.