Correctly respect mask parameters in all WebSocketClientHandshakerFactory#newHandshaker(...) methods (#9464)

Motivation:

We did not correctly pass the mask parameters in all cases.

Modifications:

Correctly pass on parameters

Result:

Fixes https://github.com/netty/netty/issues/9463.
This commit is contained in:
Norman Maurer 2019-08-15 08:33:28 +02:00
parent 9727cd8452
commit cdb92c5b0f

View File

@ -108,7 +108,7 @@ public final class WebSocketClientHandshakerFactory {
boolean allowExtensions, HttpHeaders customHeaders, int maxFramePayloadLength,
boolean performMasking, boolean allowMaskMismatch) {
return newHandshaker(webSocketURL, version, subprotocol, allowExtensions, customHeaders,
maxFramePayloadLength, true, false, -1);
maxFramePayloadLength, performMasking, allowMaskMismatch, -1);
}
/**