Skip to content

Commit 2aecdbb

Browse files
committed
remove another client-side legacy code from even path IDs
1 parent e08f19e commit 2aecdbb

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

quiche/src/cid.rs

+1-3
Original file line numberDiff line numberDiff line change
@@ -1007,9 +1007,7 @@ impl ConnectionIdentifiers {
10071007
reset_token,
10081008
),
10091009
)?;
1010-
if path_id % 2 == 0 {
1011-
self.spare_path_ids.push(Reverse(path_id));
1012-
}
1010+
self.spare_path_ids.push(Reverse(path_id));
10131011
self.largest_path_id = self.largest_path_id.max(path_id);
10141012
(true, 0)
10151013
},

0 commit comments

Comments
 (0)