]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MAJOR: init: properly compute the default global.maxpipes value
authorWilly Tarreau <w@1wt.eu>
Fri, 19 Jun 2020 14:20:59 +0000 (16:20 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 19 Jun 2020 14:23:36 +0000 (16:23 +0200)
commita4818db0a93b78b98fb15d38208e3974bac08cd9
treec6053d2e454aec952851ebe1039772eb2652b916
parent5bb21b1d29f58875fbac05a9fdfd49f84de991d8
BUG/MAJOR: init: properly compute the default global.maxpipes value

Initial default settings for maxconn/maxsock/maxpipes were rearranged
in commit a409f30d0 ("MINOR: init: move the maxsock calculation code
to compute_ideal_maxsock()") but as a side effect, the calculated
maxpipes value was not stored anymore into global.maxpipes. This
resulted in splicing being disabled unless there is an explicit
maxpipes setting in the global section.

This patch just stores the calculated ideal value as planned in the
computation and as was done before the patch above.

This is strictly 2.2, no backport is needed.
src/haproxy.c