MINOR: quic: old data distinction for qc_send_app_pkt()
authorFrédéric Lécaille <flecaille@haproxy.com>
Mon, 25 Apr 2022 08:17:00 +0000 (10:17 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 28 Apr 2022 14:22:40 +0000 (16:22 +0200)
commit3e3a6214474b99bed784f9019360441afb3ca1e9
treeb443700c3b0021954328d398f1697e6b4e92fe50
parent96367158ab61898592bbd0de36b59daab0d32cd3
MINOR: quic: old data distinction for qc_send_app_pkt()

Modify qc_send_app_pkt() to distinguish the case where it sends new data
against the case where it sends old data during probing retransmissions.
We add <old_data> boolean parameter to this function to do so. The mux
never directly send old data when probing retransmissions are needed by
the connection.
include/haproxy/xprt_quic.h
src/mux_quic.c
src/xprt_quic.c