[MINOR] startup: print the proxy socket which caused an error
authorCyril Bonté <cyril.bonte@free.fr>
Mon, 1 Nov 2010 18:26:01 +0000 (19:26 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 11 Nov 2010 08:26:28 +0000 (09:26 +0100)
commit43ba1b331c957e1f78b3309716f9bb38dfc32422
tree2e5746ddab8447e25db41a1ce40b39bf3b766493
parent17f449b214620cf3838fbf89a16736262a04ce5f
[MINOR] startup: print the proxy socket which caused an error

Add the address and port to the error message of the proxy socket that caused
the error. This can be helpful when several listening addresses are used in a
proxy.

Edit: since we now also support unix sockets (which already report their
      path), better move the address reporting to proto_tcp.c by analogy.
      -Willy
src/proto_tcp.c