Skip to content
This repository has been archived by the owner on Jul 28, 2020. It is now read-only.

Commit

Permalink
Fixing issue with queued packets not being sent (#77)
Browse files Browse the repository at this point in the history
- A single packet was sent in place of numerous queued packets
- Bug existed because the iterator wasn't being used

#76
  • Loading branch information
berdon authored and kerryjiang committed Nov 20, 2017
1 parent c4b2e90 commit 05b893c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Core/SslStreamTcpSession.cs
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,7 @@ private async void SendInternalAsync(PosList<ArraySegment<byte>> items)
{
for (int i = items.Position; i < items.Count; i++)
{
var item = items[items.Position];
var item = items[i];
await m_SslStream.WriteAsync(item.Array, item.Offset, item.Count, CancellationToken.None);
}

Expand Down

0 comments on commit 05b893c

Please sign in to comment.