MINOR: listener: allow thread kw for rhttp bind
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 23 Nov 2023 16:31:05 +0000 (17:31 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 23 Nov 2023 16:46:00 +0000 (17:46 +0100)
commit71ed381249976cd5ed9a8ce3fcc1658aee6c32e1
treebafeba40eb9694672c14941dbbe6efd933899dce
parent3d0c7f2e2add717b4310ffe4585984612221a971
MINOR: listener: allow thread kw for rhttp bind

Thanks to previous commit, a reverse HTTP listener is able to distribute
actively opened connections accross its threads. To be able to exploit
this, allow "thread" keyword for such a listener.

An extra check is added to explicitely forbids a reverse bind to span
multiple thread groups. Without this, multiple listeners instances will
be created, each with its owned "nbconn" value. This may surprise users
so for now, better to deactivate this possibility.
doc/configuration.txt
src/listener.c