]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: quic: Wrong PTO calculation
authorFrédéric Lécaille <flecaille@haproxy.com>
Wed, 8 Jun 2022 08:09:39 +0000 (10:09 +0200)
committerFrédéric Lécaille <flecaille@haproxy.com>
Thu, 16 Jun 2022 12:56:24 +0000 (14:56 +0200)
commitfa94f77bc593be1846171b3277d61b2b4e7d7e1b
treea75ebe87f518d7d966bdbdfa637b18e6fbfd7fae
parent3f96a0a4c100664985336dafeaae124c86e124f2
BUG/MINOR: quic: Wrong PTO calculation

Due to missing brackets around the ternary C operator, quic_pto() could return zero
at the first run, before the QUIC connection was completely initialized. This leaded
the idle timeout task to be executed before this initialization completion. Then
this connection could be immediately released.

This bug was revealed by the multi_packet_client_hello QUIC tracker test.

Must be backported to 2.6.
include/haproxy/quic_loss.h