Skip to content

Commit

Permalink
fix: Fixed fragmentation resend
Browse files Browse the repository at this point in the history
  • Loading branch information
TwoTenPvP committed Nov 10, 2020
1 parent 72d699a commit 57f250a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,7 @@ public void InternalUpdate(out bool timeout)
{
lock (_sendLock)
{
for (ushort i = (ushort)(_outgoingLowestAckedSequence + 1); SequencingUtils.Distance(i, _lastOutgoingSequence, sizeof(ushort)) < 0; i++)
for (ushort i = (ushort)(_outgoingLowestAckedSequence + 1); SequencingUtils.Distance(i, _lastOutgoingSequence, sizeof(ushort)) <= 0; i++)
{
if (_sendSequencer.TryGet(i, out PendingOutgoingPacketFragmented value))
{
Expand Down

0 comments on commit 57f250a

Please sign in to comment.