]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: rawsock: set connection error codes when returning from recv/send/splice
authorWilly Tarreau <w@1wt.eu>
Tue, 5 Nov 2024 16:57:43 +0000 (17:57 +0100)
committerWilly Tarreau <w@1wt.eu>
Tue, 5 Nov 2024 17:57:43 +0000 (18:57 +0100)
commit822d82caf4165f0f6da681737c7e3db17d01f599
treeeed2436063ca813eb28423beef956b94cb3a445e
parent00c383ff65c6378327382d2c055f66efb098498d
MINOR: rawsock: set connection error codes when returning from recv/send/splice

For a long time the errno values returned by recv/send/splice() were not
translated to connection error codes. There are not that many eligible
and having them would help a lot when debugging some complex issues where
logs disagree with network traces. Let's add them now.
src/raw_sock.c