diff --git a/src/quic_sock.c b/src/quic_sock.c index 2cc5a7f03..71fe0b7f5 100644 --- a/src/quic_sock.c +++ b/src/quic_sock.c @@ -342,6 +342,7 @@ size_t qc_snd_buf(struct quic_conn *qc, const struct buffer *buf, size_t count, else if (ret == 0 || errno == EAGAIN || errno == EWOULDBLOCK || errno == ENOTCONN || errno == EINPROGRESS) { /* TODO must be handle properly. It is justified for UDP ? */ qc->sendto_err++; + break; } else if (errno != EINTR) { /* TODO must be handle properly. It is justified for UDP ? */