]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: quic: Wrong ->accept() error handling
authorFrédéric Lécaille <flecaille@haproxy.com>
Thu, 11 Mar 2021 16:06:30 +0000 (17:06 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 23 Sep 2021 13:27:25 +0000 (15:27 +0200)
commite8139f3b378568c065da1a082db73352da64b289
treee8e27454693a90041ca73955c31efd9d3a899187
parent7a668f5acb1bbb6c07c1130efc943b98fd7ff5fc
BUG/MINOR: quic: Wrong ->accept() error handling

Really signal the caller that ->accept() has failed if the session could not
be initialized because conn_complete_session() has failed. This is the case
if the mux could not be initialized too.
When it fails an ->accept() must returns -1 in case of resource shortage.
src/quic_sock.c