From 1da6a65be8884845c27585d3366690f0e3908a6e Mon Sep 17 00:00:00 2001 From: Sajjad Date: Sun, 12 May 2024 15:08:08 -0400 Subject: [PATCH] Fix #45 --- src/stream/tcb.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/stream/tcb.rs b/src/stream/tcb.rs index a6f2d37..2829465 100644 --- a/src/stream/tcb.rs +++ b/src/stream/tcb.rs @@ -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 }); } }