commit | 70f289cf8d9e9bc456a7a519a522fe44a146054f | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Tue Oct 20 15:14:07 2015 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Tue Oct 20 15:29:00 2015 +0200 |
tree | ef6eb5e416626d83c4dec964063887af58b73a02 | |
parent | 5d681ba9762bf829a7951a6d6a57597a7d5da2bc [diff] |
BUG/MEDIUM: namespaces: don't fail if no namespace is used Susheel Jalali reported a confusing bug in namespaces implementation. If namespaces are enabled at build time (USE_NS=1) and *no* namespace is used at all in the whole config file, my_socketat() returns -1 and all socket bindings fail. This is because of a wrong condition in this function. A possible workaround consists in creating some namespaces.