mirror of
https://github.com/haproxy/haproxy.git
synced 2026-06-11 01:41:49 -04:00
MINOR: quic: consider EBADF as critical on send()
EBADF on sendto() is considered as a fatal error. As such, it is removed from the list of the transient errors. The connection will be killed when encountered. For the record, EBADF can be encountered on process termination with the listener socket. This should be backported up to 2.7.
This commit is contained in:
parent
1febc2d316
commit
4bdd069637
1 changed files with 1 additions and 1 deletions
|
|
@ -619,7 +619,7 @@ int qc_snd_buf(struct quic_conn *qc, const struct buffer *buf, size_t sz,
|
|||
&quic_stats_module);
|
||||
|
||||
if (errno == EAGAIN || errno == EWOULDBLOCK ||
|
||||
errno == ENOTCONN || errno == EINPROGRESS || errno == EBADF) {
|
||||
errno == ENOTCONN || errno == EINPROGRESS) {
|
||||
if (errno == EAGAIN || errno == EWOULDBLOCK)
|
||||
HA_ATOMIC_INC(&prx_counters->socket_full);
|
||||
else
|
||||
|
|
|
|||
Loading…
Reference in a new issue