]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: sock: adjust accept() error messages for ENFILE and ENOMEM
authorEgor Shestakov <egor@ved1.me>
Wed, 25 Feb 2026 16:52:33 +0000 (16:52 +0000)
committerWilly Tarreau <w@1wt.eu>
Fri, 20 Mar 2026 15:51:47 +0000 (16:51 +0100)
commit60c9e2975bd77f26fee07e5f15fe24f2b99b60ed
tree96bc2ad0f28685ef90395b87bb6836ca5335c58c
parent5617e47f915caff2a6f4b9f89080aa2b510b9a18
BUG/MINOR: sock: adjust accept() error messages for ENFILE and ENOMEM

In the ENFILE and ENOMEM cases, when accept() fails, an irrelevant
global.maxsock value was printed that doesn't reflect system limits.
Now the actconn is printed that gives a hint about the failure reasons.

Should be backported in all stable branches.
src/sock.c