423915 - WebSocket / Active connection from IOS that goes into airplane mode not disconnected on server side
+ Working testcase for JSR-356
This commit is contained in:
parent
7af074bafb
commit
6d70aab61d
|
@ -90,6 +90,7 @@ public class JsrBrowserDebugTool
|
|||
server.setHandler(context);
|
||||
|
||||
ServerContainer container = WebSocketServerContainerInitializer.configureContext(context);
|
||||
container.setDefaultMaxSessionIdleTimeout(5000);
|
||||
container.addEndpoint(JsrBrowserSocket.class);
|
||||
|
||||
LOG.info("{} setup on port {}",this.getClass().getName(),port);
|
||||
|
|
|
@ -178,6 +178,7 @@ public abstract class AbstractWebSocketConnection extends AbstractConnection imp
|
|||
this.ioState.addListener(this);
|
||||
this.flusher = new Flusher(generator,endp);
|
||||
this.setInputBufferSize(policy.getInputBufferSize());
|
||||
this.setMaxIdleTimeout(policy.getIdleTimeout());
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in New Issue