mirror of
http://git.haproxy.org/git/haproxy.git
synced 2026-02-11 11:23:03 +02:00
The below patch fixes padding emission for small packets, which is required to ensure that header protection removal can be performed by the recipient. commitd7dea408c6BUG/MINOR: quic: too short PADDING frame for too short packets In addition to the proper fix, constant QUIC_HP_SAMPLE_LEN was removed and replaced by QUIC_TLS_TAG_LEN. However, it still makes sense to have a dedicated constant which represent the size of the sample used for header protection. Thus, this patch restores it. Special instructions for backport : above patch mentions that no backport is needed. However, this is incorrect, as bug is introduced by another patch scheduled for backport up to 2.6. Thus, it is first mandatory to scheduled7dea408c6after it. Then, this patch can also be used for the sake of code clarity.