]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: quic: move receive out of FD handler to quic-conn io-cb
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 16 Nov 2022 10:01:02 +0000 (11:01 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 2 Dec 2022 13:45:43 +0000 (14:45 +0100)
commit7c9fdd9c3a44a67a37a3cc85dcaebdf263604f6b
treecff160d6e4857c0e013166ec355424aaddb71f9e
parent5b41486b7fb331a9bc64527e1669cf9a88f0a1b3
MEDIUM: quic: move receive out of FD handler to quic-conn io-cb

This change is the second part for reception on QUIC connection socket.
All operations inside the FD handler has been delayed to quic-conn
tasklet via the new function qc_rcv_buf().

With this change, buffer management on reception has been simplified. It
is now possible to use a local buffer inside qc_rcv_buf() instead of
quic_receiver_buf().

This change is part of quic-conn owned socket implementation.
It may be backported to 2.7 after a period of observation.
include/haproxy/quic_conn.h
include/haproxy/quic_sock.h
src/quic_conn.c
src/quic_sock.c