Files
dotnet-runtime/src/libraries/System.Net.WebSockets.Client
Stephen Toub 6b53ff62a3 Change how message headers are read
Instead of ReadMessageHeaderAsync, use a pair of EnsureBufferContainsHeaderAsync and ParseMessageHeaderFromReceiveBuffer, which avoids several allocations in the case of the header already being in the buffer and using smaller allocations if one isn't.


Commit migrated from https://github.com/dotnet/corefx/commit/c96eee1452e0293ceb70bb2dc0c55007c36ef621
2016-06-11 17:48:03 -04:00
..
2016-06-11 17:48:03 -04:00