From cafacf35bc8d8fb680db47f2dfe8f59947a72547 Mon Sep 17 00:00:00 2001 From: bol-van Date: Wed, 4 Mar 2026 18:52:47 +0300 Subject: [PATCH] nfqws2: quic CRYPTO frag early dedup --- nfq2/protocol.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/nfq2/protocol.c b/nfq2/protocol.c index 1e5319d..eefde86 100644 --- a/nfq2/protocol.c +++ b/nfq2/protocol.c @@ -1303,6 +1303,12 @@ bool QUICDefragCrypto(const uint8_t *clean,size_t clean_len, uint8_t *defrag,siz found=true; pos+=sz; + + // remove exact duplicates early to save cpu + for(i=0;i