Skip to content

Commit

Permalink
Fix #45
Browse files Browse the repository at this point in the history
  • Loading branch information
SajjadPourali authored May 12, 2024
1 parent dbda752 commit 1da6a65
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 1da6a65

Please sign in to comment.