]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: protocol: uniformize protocol errors
authorWilly Tarreau <w@1wt.eu>
Thu, 14 Oct 2021 09:59:15 +0000 (11:59 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 14 Oct 2021 19:22:52 +0000 (21:22 +0200)
commit6823a3acee3e35f80c6ab9ab20149e62f4182d9c
tree92c8dea42d0d3ccfd8254e7867308d83e8272ba0
parent37de553f1d0cfd58cc3b6d5576c5b6788c8fc347
MINOR: protocol: uniformize protocol errors

Some protocols fail with "error blah [ip:port]" and other fail with
"[ip:port] error blah". All this already appears in a "starting" or
"binding" context after a proxy name. Let's choose a more universal
approach like below where the ip:port remains at the end of the line
prefixed with "for".

  [WARNING]  (18632) : Binding [binderr.cfg:10] for proxy http: cannot bind receiver to device 'eth2' (No such device) for [0.0.0.0:1080]
  [WARNING]  (18632) : Starting [binderr.cfg:10] for proxy http: cannot set MSS to 12 for [0.0.0.0:1080]
src/proto_quic.c
src/proto_sockpair.c
src/proto_tcp.c
src/proto_udp.c
src/proto_uxdg.c
src/proto_uxst.c
src/sock_inet.c