]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: quic: Send ACK frames asap
authorFrédéric Lécaille <flecaille@haproxy.com>
Tue, 29 Mar 2022 09:42:03 +0000 (11:42 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 1 Apr 2022 14:22:52 +0000 (16:22 +0200)
commitb002145e9f9e2301ac20eee8e0fcc014fc466a25
treeb5e126f0aaaf074fb0a1e4f345b3485e7e634c75
parent205e4f359e8fba0e0c144bc2c6b9fd614174958e
MEDIUM: quic: Send ACK frames asap

Due to a erroneous interpretation of the RFC 9000 (quic-transport), ACKs frames
were always sent only after having received two ack-eliciting packets.
This could trigger useless retransmissions for tail packets on the peer side.
For now on, we send as soon as possible ACK frames as soon as we have ACK to send,
in the same packets as the ack-eliciting frame packets, and we also send ACK
frames after having received 2 ack-eliciting packets since the last time we sent
an ACK frame with other ack-eliciting frames.
include/haproxy/xprt_quic-t.h
include/haproxy/xprt_quic.h
src/xprt_quic.c