Skip to content

Commit

Permalink
Merge pull request #47 from narrowlink/SajjadPourali-patch-1
Browse files Browse the repository at this point in the history
Fix #45
  • Loading branch information
SajjadPourali authored May 12, 2024
2 parents dbda752 + 1da6a65 commit cdf0daf
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 cdf0daf

Please sign in to comment.