]> git.ipfire.org Git - thirdparty/haproxy.git/commit
REORG: listener: move unix perms from the listener to the bind_conf
authorWilly Tarreau <w@1wt.eu>
Thu, 20 Sep 2012 16:07:14 +0000 (18:07 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 20 Sep 2012 16:07:14 +0000 (18:07 +0200)
commit290e63aa87e91a0ebb404f7783d4aae8a7df7cfb
treeea8dcd7cb42da0bd35260d614c3da18f16173575
parent4348fad1c1b89c44f8e9fd4b9a9b88b12c131768
REORG: listener: move unix perms from the listener to the bind_conf

Unix permissions are per-bind configuration line and not per listener,
so let's concretize this in the way the config is stored. This avoids
some unneeded loops to set permissions on all listeners.

The access level is not part of the unix perms so it has been moved
away. Once we can use str2listener() to set all listener addresses,
we'll have a bind keyword parser for this one.
include/proto/listener.h
include/types/listener.h
src/cfgparse.c
src/dumpstats.c
src/haproxy.c
src/proto_uxst.c