commit | 4436cb6606423399d1b02bf812f66369036924b7 | [log] [tgz] |
---|---|---|
author | Frédéric Lécaille <flecaille@haproxy.com> | Mon Aug 16 12:06:46 2021 +0200 |
committer | Amaury Denoyelle <adenoyelle@haproxy.com> | Thu Sep 23 15:27:25 2021 +0200 |
tree | 93e6f02c21eec7807914442185ca47c7c2a36cbd | |
parent | 82b8652ac66722c86b0bebd383de25347dd61a71 [diff] |
MINOR: quic: Evaluate the packet lengths in advance We must evaluate the packet lenghts in advance to be sure we do not consume a packet number for nothing. The packet building must always succeeds. This is the role of qc_eval_pkt() implemented by this patch called before calling qc_do_build_pkt() which was previously modified to always succeed.