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 committed by GitHub
parent 1cce3b1ac9
commit 299954e138
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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);
}
/**