BUG/MINOR: quic: Missing detections of amplification limit reached
authorFrédéric Lécaille <flecaille@haproxy.com>
Fri, 3 Mar 2023 09:16:32 +0000 (10:16 +0100)
committerFrédéric Lécaille <flecaille@haproxy.com>
Fri, 3 Mar 2023 18:12:26 +0000 (19:12 +0100)
commita65b71f89f4dec6cd65aa71403349e25fed6bc51
tree04f90ae450a826b80fc70b83c00520eb93055b82
parente6359b649b7a172a4271ddef4daee2dfae7cbae1
BUG/MINOR: quic: Missing detections of amplification limit reached

Mark the connection as limited by the anti-amplification limit when trying to
probe the peer.
Wakeup the connection PTO/dectection loss timer as soon as a datagram is
received. This was done only when the datagram was dropped.
This fixes deadlock issues revealed by some interop runner tests.

Must be backported to 2.7 and 2.6.
src/quic_conn.c