Skip to content

Commit

Permalink
avoid infinite loop
Browse files Browse the repository at this point in the history
  • Loading branch information
qdeconinck committed Mar 17, 2024
1 parent ce9f158 commit dd3caa9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion quiche/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4177,7 +4177,8 @@ impl Connection {
let dcid_seq = path.active_dcid_seq.ok_or(Error::InvalidState)?;

if path.path_id() == 0 && seq_num == dcid_seq {
continue;
// Will likely need to fix this correctly.
break;
}

let frame = if path_id != 0 {
Expand Down

0 comments on commit dd3caa9

Please sign in to comment.