Guarding against NPE if the masker is null.
This commit is contained in:
parent
b9b16529d5
commit
f3d53918b5
|
@ -92,7 +92,8 @@ public class WebSocketClientConnection extends AbstractWebSocketConnection
|
|||
{
|
||||
if (frame instanceof WebSocketFrame)
|
||||
{
|
||||
masker.setMask((WebSocketFrame)frame);
|
||||
if (masker != null)
|
||||
masker.setMask((WebSocketFrame)frame);
|
||||
}
|
||||
return super.outgoingFrame(frame);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue