commit | c6fc77404e70d62e8b425568c55dc971cbd516d7 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Mon Aug 29 16:48:14 2022 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Mon Aug 29 18:45:27 2022 +0200 |
tree | 4339c8a1c4db4553cf4176e206ecb7c4ed5a1ef3 | |
parent | 2c30de3b9053500b5ee2d72aad15a243c2b8a955 [diff] |
MINOR: raw-sock: don't try to send if an error was already reported There's no point trying to send() on a socket on which an error was already reported. This wastes syscalls. Till now it was possible to occasionally see an attempt to sendto() after epoll_wait() had reported EPOLLERR.