commit | 82b8652ac66722c86b0bebd383de25347dd61a71 | [log] [tgz] |
---|---|---|
author | Frédéric Lécaille <flecaille@haproxy.com> | Tue Aug 10 09:54:03 2021 +0200 |
committer | Amaury Denoyelle <adenoyelle@haproxy.com> | Thu Sep 23 15:27:25 2021 +0200 |
tree | dd4bcede9e73f33ba72b3df1828e844a8bb00d26 | |
parent | 8b19a9f162a66205b802ced4feae6ee46021e87c [diff] [blame] |
MINOR: quic: Missing acks encoded size updates. There were cases where the encoded size of acks was not updated leading to ACK frames building too big compared to the expected size. At this time, this makes the code "BUG_ON()".
diff --git a/src/xprt_quic.c b/src/xprt_quic.c index cfd8a68..e2d2ca6 100644 --- a/src/xprt_quic.c +++ b/src/xprt_quic.c
@@ -2450,9 +2450,9 @@ } } + out: quic_arngs_set_enc_sz(arngs); - out: return 1; } /* Remove the header protection of packets at <el> encryption level.