]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: config: make str2listener() use str2sa_range() to parse unix addresses
authorWilly Tarreau <w@1wt.eu>
Mon, 4 Mar 2013 18:56:20 +0000 (19:56 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 8 Mar 2013 13:04:54 +0000 (14:04 +0100)
commitb44dc2f38849e6bb67a088da22413492cb2735a1
tree7ed44dfa396c9464f47fdfe2df9df7842eccbe37
parent1558638aafe97cb80bbe35c05afc681a07323536
MEDIUM: config: make str2listener() use str2sa_range() to parse unix addresses

Now that str2sa_range() knows how to parse UNIX addresses, make str2listener()
use it. It simplifies the function. Next step consists in unifying the error
handling to further simplify the call.

Tests have been done and show that unix sockets are correctly handled, with
and without prefixes, both for global stats and normal "bind" statements.
src/cfgparse.c