This commit is contained in:
Chris Ross 2014-10-24 15:25:41 -07:00
parent 035983f90e
commit be8859d07c
1 changed files with 1 additions and 1 deletions

View File

@ -129,7 +129,7 @@ namespace Microsoft.AspNet.WebSockets.Protocol
state.AdditionalBytesExpected--;
// Each continuation byte carries 6 bits of data 0x10bbbbbb.
state.CurrentDecodeBits = (state.CurrentDecodeBits << 6) | b & 0x3F;
state.CurrentDecodeBits = (state.CurrentDecodeBits << 6) | (b & 0x3F);
if (state.AdditionalBytesExpected == 1 && state.CurrentDecodeBits >= 0x360 && state.CurrentDecodeBits <= 0x37F)
{