]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: quic: remove unnecessary quic_session_accept()
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 29 Sep 2022 16:31:24 +0000 (18:31 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 26 Oct 2022 16:16:20 +0000 (18:16 +0200)
commit0aba11e9e72c6531e131f740135f9d47d2060ca7
tree36a354f070fe6c785c46ed2ab6d1fd98ff81dc5a
parentb976640fe178c7084f0db4d443874ebe4746dca8
MINOR: quic: remove unnecessary quic_session_accept()

A specialized listener accept was previously used for QUIC. This is now
unneeded and we can revert to the default one session_accept_fd().

One change of importance is that the call order between
conn_xprt_start() and conn_complete_session() is now reverted to the
default one. This means that MUX instance is now NULL during
qc_xprt_start() and its app-ops layer cannot be set here. This operation
has been delayed to qc_init() to prevent a segfault.

This should be backported up to 2.6.
src/cfgparse.c
src/mux_quic.c
src/quic_sock.c
src/xprt_quic.c