[Modify] Polish it

This commit is contained in:
sta 2021-03-18 19:28:13 +09:00
parent 3fc87d18ea
commit da1cc9fba6

View File

@ -179,12 +179,15 @@ namespace WebSocketSharp.Net
if (b == 10) if (b == 10)
throwProtocolViolation ("LF is unexpected."); throwProtocolViolation ("LF is unexpected.");
if (b == 32) // SP
_gotIt = true;
if (_gotIt) if (_gotIt)
continue; continue;
if (b == 32) { // SP
_gotIt = true;
continue;
}
_saved.Append ((char) b); _saved.Append ((char) b);
} }