https://issues.apache.org/bugzilla/show_bug.cgi?id=56551
Bug ID: 56551
Summary: Increase timeouts in CometChat example
Product: Tomcat 8
Version: 8.0.8
Hardware: PC
Status: NEW
Severity: minor
Priority: P2
Component: Examples
Assignee: [email protected]
Reporter: [email protected]
>From 8.0.8 vote thread: [1]
> Also I was not able to get any sense from the Comet chat example
> (http://localhost:8080/examples/servlets/chat/). The connection for
> the /chat panel (the bottom panel in the frameset) that was supposed
> to be opened for some time, closed nearly immediately. Thus chat
> messages could be printed. The browser I was using is Firefox 29.0.1.
> Connector: NIO.
The same example works with NIO connector in 7.0.54.
Either something is broken, or just the default timeout is different. In both
Tomcat 8 and 7 the documented default when using the NIO connector is
"soTimeout" [2].
In any case, I think for this example it makes sense to try to set a timeout
programmatically to be longer than the default one.
[1] http://marc.info/?l=tomcat-dev&m=140053412808060&w=2
[2] http://tomcat.apache.org/tomcat-8.0-doc/aio.html#Comet_timeouts
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]