]> git.ipfire.org Git - thirdparty/haproxy.git/commit
CLEANUP: config: remove test for impossible case regarding bind thread mask
authorWilly Tarreau <w@1wt.eu>
Tue, 31 Jan 2023 18:14:31 +0000 (19:14 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 3 Feb 2023 17:00:20 +0000 (18:00 +0100)
commit53c6c673ac262448ae9a33d5d137f445fa7311ea
tree691173b429ae8cc5554a470426a6a2f8519bbd0f
parent9e2682afed98aaacfb2afda8ffccbeffc0d8ce91
CLEANUP: config: remove test for impossible case regarding bind thread mask

During 2.5 development, a fallback was implemented for bind "thread"
directives that would not map to existing threads, with commit e3f4d7496
("MEDIUM: config: resolve relative threads on bind lines to absolute ones").
The approch consisted in remapping the threads to other ones. But now
that relative threads and not absolute threads are stored in this mask,
this case cannot happen anymore, and this confusing hack is not needed
anymore.
src/cfgparse.c