[Modify] Polish it
This commit is contained in:
parent
3fc87d18ea
commit
da1cc9fba6
@ -179,12 +179,15 @@ namespace WebSocketSharp.Net
|
||||
if (b == 10)
|
||||
throwProtocolViolation ("LF is unexpected.");
|
||||
|
||||
if (b == 32) // SP
|
||||
_gotIt = true;
|
||||
|
||||
if (_gotIt)
|
||||
continue;
|
||||
|
||||
if (b == 32) { // SP
|
||||
_gotIt = true;
|
||||
|
||||
continue;
|
||||
}
|
||||
|
||||
_saved.Append ((char) b);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user