]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: stats: never apply "unix-bind prefix" to the global stats socket
authorWilly Tarreau <w@1wt.eu>
Mon, 4 Mar 2013 18:53:29 +0000 (19:53 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 8 Mar 2013 13:04:42 +0000 (14:04 +0100)
commit3a26918170a6c3f237072d5bab8b0f6c8bbdffcd
tree542de24a6eb31090097eb4eada092a9da190cc24
parent6924ef8b12ad6f935bb5287ff4b2ae17bdbbf928
BUG/MEDIUM: stats: never apply "unix-bind prefix" to the global stats socket

The "unix-bind prefix" feature was made for explicit "bind" statements. Since
the stats socket was changed to use str2listener(), it implicitly inherited
from this feature. But both are defined in the global section, and we don't
want them to be position-dependant.

So let's make str2listener() explicitly not apply the unix-bind prefix to the
global stats frontend.

This only affects 1.5-dev so it does not need any backport.
src/cfgparse.c