Fix typo in ManagedWebSocket comment
authorStephen Toub <stoub@microsoft.com>
Sat, 25 Apr 2020 01:09:26 +0000 (21:09 -0400)
committerGitHub <noreply@github.com>
Sat, 25 Apr 2020 01:09:26 +0000 (21:09 -0400)
src/libraries/Common/src/System/Net/WebSockets/ManagedWebSocket.cs

index 437c6ea..a8f1c63 100644 (file)
@@ -709,7 +709,7 @@ namespace System.Net.WebSockets
                             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.