]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: quic: break for error on sendto
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 18 May 2022 16:14:12 +0000 (18:14 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 19 May 2022 08:18:18 +0000 (10:18 +0200)
commit8fa666650f0cd2d9390764fdcd2b14a8200397cb
treefeb89b2b819fc76f6dd7202a83878a596a41ecf8
parentc95eaefbfd45ae2ed47d1181a7c9179d7742a01b
BUG/MINOR: quic: break for error on sendto

If sendto returns an error, we should not retry the call and break from
the sending loop. An exception is made for EINTR which allows to retry
immediately the syscall.

This bug caused an infinite loop reproduced when the process is in the
closing state by SIGUSR1 but there is still QUIC data emission left.
src/quic_sock.c