]> git.kaiwu.me - haproxy.git/commit
BUG/MINOR: quic: ignore congestion window on probing for MUX wakeup
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Tue, 21 Mar 2023 10:39:24 +0000 (11:39 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Tue, 21 Mar 2023 13:52:02 +0000 (14:52 +0100)
commit8afe4b88c40559435a3a7f9a1d846dc891f936b9
tree5b62fb8d68b2403c6d12ce64a99b893afd9ab0ac
parent2a19b6e564513db52a7f4524a6545a0ca815afe9
BUG/MINOR: quic: ignore congestion window on probing for MUX wakeup

qc_notify_send() is used to wake up the MUX layer for sending. This
function first ensures that all sending condition are met to avoid to
wake up the MUX for unnecessarily.

One of this condition is to check if there is room in the congestion
window. However, when probe packets must be sent due to a PTO
expiration, RFC 9002 explicitely mentions that the congestion window
must be ignored which was not the case prior to this patch.

This commit fixes this by first setting <pto_probe> of 01RTT packet
space before invoking qc_notify_send(). This ensures that congestion
window won't be checked anymore to wake up the MUX layer until probing
packets are sent.

This commit replaces the following one which was not sufficient :
  commit e25fce03ebe3307bc104d1f81356108e271d2bc3
  BUG/MINOR: quic: Dysfunctional 01RTT packet number space probing

This should be backported up to 2.7.
src/quic_conn.c