Skip to content
This repository has been archived by the owner on Dec 18, 2018. It is now read-only.

Commit

Permalink
Fix TestWebSocketConnectionFeature that CancellationToken is not work…
Browse files Browse the repository at this point in the history
…ing (#2906)
  • Loading branch information
vicancy authored and analogrelay committed Sep 5, 2018
1 parent d20d4f1 commit 201c058
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ public override async Task<WebSocketReceiveResult> ReceiveAsync(ArraySegment<byt
{
if (_internalBuffer.Buffer == null || _internalBuffer.Buffer.Length == 0)
{
await _input.WaitToReadAsync();
await _input.WaitToReadAsync(cancellationToken);

if (_input.TryRead(out var message))
{
Expand Down

0 comments on commit 201c058

Please sign in to comment.