[ 
https://issues.apache.org/jira/browse/WICKET-6950?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17484823#comment-17484823
 ] 

ASF GitHub Bot commented on WICKET-6950:
----------------------------------------

reiern70 commented on pull request #496:
URL: https://github.com/apache/wicket/pull/496#issuecomment-1026049655


   Setting it to -1 produces
   
   java.lang.IllegalArgumentException: IdleTimeout [-1] must be a greater than 
or equal to 0
        at 
org.eclipse.jetty.websocket.api.WebSocketPolicy.assertGreaterThan(WebSocketPolicy.java:117)
        at 
org.eclipse.jetty.websocket.api.WebSocketPolicy.setIdleTimeout(WebSocketPolicy.java:300)
        at 
org.eclipse.jetty.websocket.jsr356.JsrSession.setMaxIdleTimeout(JsrSession.java:351)
        at 
org.apache.wicket.protocol.ws.javax.JavaxWebSocketSession.setMaxIdleTimeout(JavaxWebSocketSession.java:73)
        at 
org.apache.wicket.examples.websocket.JSR356Application$1.configureSession(JSR356Application.java:76)
        at 
org.apache.wicket.protocol.ws.api.IWebSocketProcessor.onOpen(IWebSocketProcessor.java:41)
        at 
org.apache.wicket.protocol.ws.javax.WicketEndpoint.onOpen(WicketEndpoint.java:74)
        at 
org.eclipse.jetty.websocket.jsr356.endpoints.JsrEndpointEventDriver.onConnect(JsrEndpointEventDriver.java:145)
        at 
org.eclipse.jetty.websocket.common.events.AbstractEventDriver.openSession(AbstractEventDriver.java:217)
        at 
org.eclipse.jetty.websocket.jsr356.endpoints.AbstractJsrEventDriver.openSession(AbstractJsrEventDriver.java:107)
        at 
org.eclipse.jetty.websocket.common.WebSocketSession.open(WebSocketSession.java:493)
        at 
org.eclipse.jetty.websocket.common.WebSocketSession.onOpened(WebSocketSession.java:459)
        at 
org.eclipse.jetty.io.AbstractConnection.onOpened(AbstractConnection.java:213)
        at 
org.eclipse.jetty.io.AbstractConnection.onOpen(AbstractConnection.java:205)
        at 
org.eclipse.jetty.io.AbstractEndPoint.upgrade(AbstractEndPoint.java:444)
        at 
org.eclipse.jetty.server.HttpConnection.onCompleted(HttpConnection.java:412)
        at 
org.eclipse.jetty.server.HttpChannel.onCompleted(HttpChannel.java:832)
        at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:380)
        at 
org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:277)
        at 
org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
        at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105)
        at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)
        at 
org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:338)
        at 
org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:315)
        at 
org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:173)
        at 
org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.produce(EatWhatYouKill.java:137)
        at 
org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:883)
        at 
org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1034)
        at java.base/java.lang.Thread.run(Thread.java:829)
   
   Thus jetty implementation does not stick to "standard" 
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@wicket.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> wicket web-sockets implementation does not allow to configure/access web 
> socket session on onOpen
> -------------------------------------------------------------------------------------------------
>
>                 Key: WICKET-6950
>                 URL: https://issues.apache.org/jira/browse/WICKET-6950
>             Project: Wicket
>          Issue Type: Improvement
>    Affects Versions: 10.0.0, 9.7.0
>            Reporter: Ernesto Reinaldo Barreiro
>            Assignee: Ernesto Reinaldo Barreiro
>            Priority: Major
>             Fix For: 9.8.0
>
>




--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to