Skip to content

Commit

Permalink
remove legacy check which is no longer valid
Browse files Browse the repository at this point in the history
  • Loading branch information
qdeconinck committed Jul 20, 2024
1 parent 3bd2ffd commit e08f19e
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions quiche/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8625,12 +8625,6 @@ impl Connection {
}
}

// We are at server side here. The path ID must be an even one.
if path_id % 2 != 0 {
error!("Peer tries to initiate an path with a server-initiated path ID {path_id}");
return Err(Error::MultiPathViolation);
}

// This is a new path using an unassigned CID; create it!
let mut path = path::Path::new(
path_id,
Expand Down

0 comments on commit e08f19e

Please sign in to comment.