Skip to content

Commit

Permalink
Fix typo in ManagedWebSocket comment
Browse files Browse the repository at this point in the history
  • Loading branch information
stephentoub authored Apr 25, 2020
1 parent 201c3ce commit 6db7579
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -709,7 +709,7 @@ private async ValueTask<TWebSocketReceiveResult> ReceiveAsyncPrivate<TWebSocketR
null, null);
}

// Otherwise, read as much of the payload as we can efficiently, and upate the header to reflect how much data
// Otherwise, read as much of the payload as we can efficiently, and update the header to reflect how much data
// remains for future reads. We first need to copy any data that may be lingering in the receive buffer
// into the destination; then to minimize ReceiveAsync calls, we want to read as much as we can, stopping
// only when we've either read the whole message or when we've filled the payload buffer.
Expand Down

0 comments on commit 6db7579

Please sign in to comment.