]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: proto_tcp: tcp_bind_listener: copy errno in errmsg
authorValentine Krasnobaeva <vkrasnobaeva@haproxy.com>
Thu, 8 Aug 2024 09:25:34 +0000 (11:25 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 8 Aug 2024 14:34:13 +0000 (16:34 +0200)
commit46181e730a8dde66f45eb1d2cdd87b9f6c136f08
tree7949cd74b169add71d454afc7715e057c1c77a3b
parent81f48395b325b9875d215ec2743e75f7a56e1e5f
MINOR: proto_tcp: tcp_bind_listener: copy errno in errmsg

Let's copy errno in errmsg produced by tcp_bind_listener if it fails in
a syscall(). This is helpful to debug issues, while binding listeners.
src/proto_tcp.c