commit | b44dc2f38849e6bb67a088da22413492cb2735a1 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Mon Mar 04 19:56:20 2013 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Fri Mar 08 14:04:54 2013 +0100 |
tree | 7ed44dfa396c9464f47fdfe2df9df7842eccbe37 | |
parent | 1558638aafe97cb80bbe35c05afc681a07323536 [diff] |
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.