Skip to content

Commit

Permalink
Patch regression
Browse files Browse the repository at this point in the history
See: #45
  • Loading branch information
pronebird committed May 8, 2024
1 parent 1b51ac0 commit f64ca2c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/stream/tcb.rs
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,6 @@ impl Tcb {
self.inflight_packets.retain(|p| {
let last_byte = p.seq.wrapping_add(p.payload.len() as u32);
last_byte.saturating_sub(self.last_ack) > 0
&& self.seq.saturating_sub(last_byte) > 0
});
}
}
Expand Down

0 comments on commit f64ca2c

Please sign in to comment.