Im getting a bit confused with the http-reuse
option [1], the documentation seems to suggest that this option can be selectively be configured at frontend or backend side, but looking at the code seems that this is an option that configures the whole proxy, am I wrong? if not, what am I missing here
Actually regarding the frontend section for this option there is a clear no with a red X below, indicating that this has nothing to do with the frontend at all.
Now it does indicate that it is possible to configure it in the “listen” section. But that is a configuration section, not the bind keyword for the listening socket in the frontend section.
Many may no be familiar with the old style section configuration in haproxy, that did not require frontend / backend sections.
I will make an example, the following listen section:
listen foobar
bind :80
server srv1 192.168.1.10:80
is equivalent to:
frontend foo
bind :80
default_backend bar
backend bar
server srv1 192.168.1.10:80
The listen section is what the docs are referring to.