Derive the retained octets from ExpiringGroups' weight
Test / lint (pull_request) Successful in 22s
Test / test (18) (pull_request) Successful in 31s
Test / test (20) (pull_request) Successful in 31s
Test / test (22) (pull_request) Successful in 31s
Test / test (24) (pull_request) Successful in 33s
Test / test (26) (pull_request) Successful in 32s
Mirror / push (push) Successful in 5s

This commit is contained in:
2026-09-28 01:09:12 +02:00
parent 0b9b210fb2
commit 91c155175f
6 changed files with 79 additions and 76 deletions
+2
View File
@@ -2191,6 +2191,8 @@ describe('reassembly bounds', () => {
assert.ok(reopened.kept);
assert.equal(reopened.whole, undefined);
assert.ok(collect(reassembler, 3, 1, 2).kept);
assert.equal(reassembler.size, 2, 'a segment sent again replaces its octets rather than adding them');
reassembler.clear();
});