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:
parent
1a22c126be
commit
4c14fa5c54
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user