]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: quic: Ensure PTO timer is not set in the past
authorFrédéric Lécaille <flecaille@haproxy.com>
Wed, 16 Feb 2022 13:46:17 +0000 (14:46 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Tue, 1 Mar 2022 15:22:35 +0000 (16:22 +0100)
commit5757b4a50eec0c2448ea1f9081b20df59bfa56a5
treed8e212723468f2cb50754911a815800119fba5ba
parent59e6bcdcea9c8bff99d1c8e754d308acfb596236
MINOR: quic: Ensure PTO timer is not set in the past

Wakeup asap the timer task when setting its timer in the past.
Take also the opportunity of this patch to make simplify quic_pto_pktns():
calling tick_first() is useless here to compare <lpto> with <tmp_pto>.
include/haproxy/quic_loss.h
src/xprt_quic.c