Don't call CompleteReader, the dispatcher can handle that

This commit is contained in:
David Fowler 2016-10-09 15:07:30 -07:00
parent cf68c18dd2
commit 8bd8887213
2 changed files with 0 additions and 4 deletions

View File

@ -36,8 +36,6 @@ namespace Microsoft.AspNetCore.Sockets
_channel.Output.Advance(buffer.End); _channel.Output.Advance(buffer.End);
} }
_channel.Output.CompleteReader();
} }
private async Task Send(HttpContext context, ReadableBuffer data) private async Task Send(HttpContext context, ReadableBuffer data)

View File

@ -109,8 +109,6 @@ namespace Microsoft.AspNetCore.Sockets
} }
} }
_channel.Output.CompleteReader();
// REVIEW: Should this ever happen? // REVIEW: Should this ever happen?
if (!IsClosedOrClosedSent(ws)) if (!IsClosedOrClosedSent(ws))
{ {