]> git.kaiwu.me - haproxy.git/commit
BUG/MINOR: quic: handle EINTR on emission of packets without connection
authorYeonggi Kim <yg.kim@navercorp.com>
Thu, 15 Oct 2026 23:45:58 +0000 (08:45 +0900)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 16 Oct 2026 07:31:06 +0000 (09:31 +0200)
commit205a071d9d9148cc9b893a454370f129bd9115fc
tree2d1fa17c81936eb813e66b83403f517f7817cb74
parentfdf54f8923ec7ae0ab9c16d654692562518a0557
BUG/MINOR: quic: handle EINTR on emission of packets without connection

Retry, Version Negotiation and Stateless Reset packets are emitted
without connection via quic_lstnr_sock_send(). If sendmsg() is
interrupted by a signal, the error is reported to the caller and the
packet is lost, while qc_snd_buf() retries the emission on EINTR.

Also retry the emission on EINTR in quic_lstnr_sock_send(). The impact
is limited, as the listener socket is non-blocking so sendmsg() is not
expected to be interrupted in practice, and a new packet will be
emitted in response to the next ones from the peer.

This may be backported along with the previous patches up to 2.8.
src/quic_sock.c