]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: spoe: initialization depending on nbthread must be done last
authorWilly Tarreau <w@1wt.eu>
Thu, 7 Feb 2019 12:40:33 +0000 (13:40 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 7 Feb 2019 14:08:13 +0000 (15:08 +0100)
commitb0769b2ed668119e024e2fbda79eef46ece8511a
treee58f5dd32d25bd5db4e612b4afe26a17bbed3a8b
parentb784b35ce88842c3b7630085775fdd6e5f858bc8
BUG/MEDIUM: spoe: initialization depending on nbthread must be done last

The agent used to be configured depending on global.nbthread while nbthread
may be set after the agent is parsed. Let's move this part to the spoe_check()
function to make sure nbthread is always correct and arrays are appropriately
sized.

This fix must be backported to 1.9 and 1.8.
src/flt_spoe.c