]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: listener/protocol: add proto name in alerts
authorValentine Krasnobaeva <vkrasnobaeva@haproxy.com>
Wed, 10 Apr 2024 12:18:47 +0000 (14:18 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 12 Apr 2024 16:51:40 +0000 (18:51 +0200)
commit7041c078d631aba66b1822d95033856fac7b2c63
tree08450c02ad25a017bb3faa0933ab1e235673127a
parentc0ee2d78d739c27891d4e230ef6ebc691806a03a
MINOR: listener/protocol: add proto name in alerts

Frontend and listen sections allow unlimited number of bind statements, it is
often, when there is a bind statement per supported protocol, like below:

listen test
  mode http
  bind quic4@0.0.0.0:443 name quic ssl crt ...
  bind 0.0.0.0:443 name https ssl alpn http/1.1,h2 crt ...
  bind 0.0.0.0:8080 ...
  ...

It seems useful to show corresponded protocol name in alerts and warnings,
when problem occures with port binding, connection resuming or sharding. This
helps to figure out immediately, which bind statement has a wrong setting or
which protocol module is the root cause of the issue.
src/listener.c
src/protocol.c