[Modify] Replace it
This commit is contained in:
parent
f8f8189b4b
commit
5c008aba14
@ -1168,7 +1168,7 @@ namespace WebSocketSharp
|
|||||||
{
|
{
|
||||||
var msg = checkIfValidReceivedFrame (frame);
|
var msg = checkIfValidReceivedFrame (frame);
|
||||||
if (msg != null)
|
if (msg != null)
|
||||||
return processUnsupportedFrame (frame, CloseStatusCode.ProtocolError, msg);
|
throw new WebSocketException (CloseStatusCode.ProtocolError, msg);
|
||||||
|
|
||||||
frame.Unmask ();
|
frame.Unmask ();
|
||||||
return frame.IsFragment
|
return frame.IsFragment
|
||||||
|
Loading…
Reference in New Issue
Block a user