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
c227053c3b
commit
13575be12f
@ -115,7 +115,7 @@ public class WebSocketServerProtocolHandler extends WebSocketProtocolHandler {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public WebSocketServerProtocolHandler(String websocketPath, long handshakeTimeoutMillis) {
|
public WebSocketServerProtocolHandler(String websocketPath, long handshakeTimeoutMillis) {
|
||||||
this(websocketPath, null, false);
|
this(websocketPath, false, handshakeTimeoutMillis);
|
||||||
}
|
}
|
||||||
|
|
||||||
public WebSocketServerProtocolHandler(String websocketPath, boolean checkStartsWith) {
|
public WebSocketServerProtocolHandler(String websocketPath, boolean checkStartsWith) {
|
||||||
|
Loading…
Reference in New Issue
Block a user