Don't call CompleteReader, the dispatcher can handle that
This commit is contained in:
parent
cf68c18dd2
commit
8bd8887213
|
|
@ -36,8 +36,6 @@ namespace Microsoft.AspNetCore.Sockets
|
|||
|
||||
_channel.Output.Advance(buffer.End);
|
||||
}
|
||||
|
||||
_channel.Output.CompleteReader();
|
||||
}
|
||||
|
||||
private async Task Send(HttpContext context, ReadableBuffer data)
|
||||
|
|
|
|||
|
|
@ -109,8 +109,6 @@ namespace Microsoft.AspNetCore.Sockets
|
|||
}
|
||||
}
|
||||
|
||||
_channel.Output.CompleteReader();
|
||||
|
||||
// REVIEW: Should this ever happen?
|
||||
if (!IsClosedOrClosedSent(ws))
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue