Correctly pass all parameters in WebSocketServerProtocolHandler constructor (#9506)

Motivation:

We did not correctly pass all supplied parameters to the called constructor and so did not apply the timeout.

Modification:

Correctly pass on the parameters.

Result:

Use timeout
This commit is contained in:
hengyunabc 2019-08-27 15:00:58 +08:00 committed by Norman Maurer
parent 1a22c126be
commit 4c14fa5c54

View File

@ -116,7 +116,7 @@ public class WebSocketServerProtocolHandler extends WebSocketProtocolHandler {
}
public WebSocketServerProtocolHandler(String websocketPath, long handshakeTimeoutMillis) {
this(websocketPath, null, false);
this(websocketPath, false, handshakeTimeoutMillis);
}
public WebSocketServerProtocolHandler(String websocketPath, boolean checkStartsWith) {