commit | db2a7649a9f96e4f36ffdcdb2c870f47a373e00c | [log] [tgz] |
---|---|---|
author | Frédéric Lécaille <flecaille@haproxy.com> | Mon Aug 02 16:41:28 2021 +0200 |
committer | Amaury Denoyelle <adenoyelle@haproxy.com> | Thu Sep 23 15:27:25 2021 +0200 |
tree | c28f09ad7e563af72f59b7438b6e583287e8b6b6 | |
parent | f5821dc7b734585d6d0867b7fc8d7e3a3ad0a3fd [diff] |
MINOR: quic: Add a useful function to compute any frame length. This should be used by the function which build packets to prevent it from failing. This is important when the packet numbers are consumed by several threads. The packet number is used to build and encrypt packets and must be incremented only and only if the packet it refers to has been successfully built.