]> git.kaiwu.me - haproxy.git/commit
BUG/MAJOR: config: Wrong maxconn adjustment.
authorFrédéric Lécaille <flecaille@haproxy.com>
Thu, 7 Mar 2019 14:02:52 +0000 (15:02 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 7 Mar 2019 16:07:23 +0000 (17:07 +0100)
commit2365fb0c9748b70ceada1094f59180e9e72b6b6b
tree87e8f42363888ea4edde55cfba996f171fe3cf3f
parent7c49711d6041d1afc42d5b310ddfd7d6f6817c3c
BUG/MAJOR: config: Wrong maxconn adjustment.

Before c8d5b95 the "maxconn" of the backend of dynamic "use_backend"
rules was not modified (this does not make sense and this is correct).
When implementing proxy_adjust_all_maxconn(), c8d5b95 commit missed this case.
With this patch we adjust the "maxconn" of the backend of such rules only if
they are not dynamic.

Without this patch reg-tests/http-rules/h00003.vtc could make haproxy crash.
src/proxy.c