Template
1
0
mirror of https://github.com/bol-van/zapret2.git synced 2026-03-13 22:03:09 +00:00

nfqws2: quic CRYPTO frag early dedup

This commit is contained in:
bol-van
2026-03-04 18:52:47 +03:00
parent 55dc47bae4
commit cafacf35bc

View File

@@ -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<range;i++)
if (ranges[i].offset==offset && ranges[i].len==sz)
continue;
ranges[range].offset = offset;
ranges[range].len = sz;
range++;