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