]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: spoe: Use a different engine-id per process
authorKevin Zhu <ipandtcp@gmail.com>
Tue, 17 Sep 2019 13:05:45 +0000 (15:05 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Thu, 26 Sep 2019 14:51:02 +0000 (16:51 +0200)
commitd87b1a56d526568b55ee33b77f77c87455026ae1
tree074b478abb952d26f37fda8835b1ad1167ba4f8c
parenteec96b5381c9508686035842e5886c6cd9d64fa2
BUG/MEDIUM: spoe: Use a different engine-id per process

SPOE engine-id is the same for all processes when nbproc is more than 1. So, in
async mode, an agent receiving a NOTIFY frame from a process may send the ACK to
another process. It is abviously wrong. A different engine-id must be generated
for each process.

This patch must be backported to 2.0, 1.9 and 1.8.
src/flt_spoe.c