We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0e03bc7 + 062fa23 commit f151e8eCopy full SHA for f151e8e
src/input.ml
@@ -159,7 +159,7 @@ let deliver_in_2 m stats now id conn seg ack =
159
tt_delack = None ;
160
snd_una = Sequence.incr cb.iss ; (*: ack ; = cb.iss + 1, or +2 if full ack of SYN,FIN :*)
161
snd_nxt = if conn.cantsndmore then ack else cb.snd_nxt ;
162
- snd_max = if conn.cantsndmore && ack > cb.snd_max then ack else cb.snd_max ;
+ snd_max = if conn.cantsndmore && Sequence.greater ack cb.snd_max then ack else cb.snd_max ;
163
snd_wl1 = Sequence.incr seg.seq ;
164
snd_wl2 = ack ;
165
snd_wnd = seg.window ; (* this is a SYN segment, so window scaling is ignored *)
0 commit comments