Skip to content

Commit

Permalink
remove another client-side legacy code from even path IDs
Browse files Browse the repository at this point in the history
  • Loading branch information
qdeconinck committed Jul 21, 2024
1 parent e08f19e commit 2aecdbb
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions quiche/src/cid.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1007,9 +1007,7 @@ impl ConnectionIdentifiers {
reset_token,
),
)?;
if path_id % 2 == 0 {
self.spare_path_ids.push(Reverse(path_id));
}
self.spare_path_ids.push(Reverse(path_id));
self.largest_path_id = self.largest_path_id.max(path_id);
(true, 0)
},
Expand Down

0 comments on commit 2aecdbb

Please sign in to comment.