MINOR: quic: process_timer() rework
authorFrédéric Lécaille <flecaille@haproxy.com>
Thu, 21 Apr 2022 16:26:22 +0000 (18:26 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 28 Apr 2022 14:22:40 +0000 (16:22 +0200)
commit3ef729a64386c2787f954e9741ed8bafa4a3b2fd
tree4ff0e2bdb1621c15c28e46aab0bb6b62b745013a
parente87b3ee9f57b65045e9cf7eaf835422874bbe3a7
MINOR: quic: process_timer() rework

Add QUIC_FL_CONN_RETRANS_NEEDED connection flag definition to mark a quic_conn
struct as needing a retranmission.
Add QUIC_FL_PKTNS_PROBE_NEEDED to mark a packet number space as needing a
datagram probing.
Set these flags from process_timer() to trigger datagram probings.
Do not initiate anymore datagrams probing from any quic encryption level.
This will be done from the I/O handlers (quic_conn_io_cb() during handshakes and
quic_conn_app_io_cb() after handshakes).
include/haproxy/xprt_quic-t.h
src/xprt_quic.c