[Modify] Add RSV check

master
sta 10 years ago
parent 53407f5732
commit ff7e00f661

@ -744,6 +744,10 @@ namespace WebSocketSharp
? "A data frame has been received while receiving the fragmented data."
: frame.IsCompressed && _compression == CompressionMethod.None
? "A compressed frame is without an available decompression method."
: frame.Rsv2 == Rsv.On
? "The RSV2 of a frame is non-zero without any negotiation for it."
: frame.Rsv3 == Rsv.On
? "The RSV3 of a frame is non-zero without any negotiation for it."
: null;
}

Loading…
Cancel
Save