]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: quic: do not crash on unhandled sendto error
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Mon, 24 Oct 2022 08:03:33 +0000 (10:03 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Mon, 24 Oct 2022 08:18:44 +0000 (10:18 +0200)
commit1d9f170eddd8703ba550e91322298e88e8280075
treec8eb907b714fa5fa07f95b4667859e788547bbc2
parent910b7577bce977ee08068f22df7a5d824ae4155c
MINOR: quic: do not crash on unhandled sendto error

Remove ABORT_NOW() statement on unhandled sendto error. Instead use a
dedicated counter sendto_err_unknown to report these cases.

If we detect increment of this counter, strace can be used to detect
errno value :
  $ strace -p $(pidof haproxy) -f -e trace=sendto -Z

This should be backported up to 2.6.

This should help to debug github issue #1903.
include/haproxy/quic_stats-t.h
src/quic_sock.c