Whis is the event.close conditional when there is an error, what if you
get a Comet report that says
Type=CometEvent.EventType.ERROR
Subtype=null
?
Filip
On 09/13/2009 01:25 PM, Hacking Bear wrote:
} else if (event.getEventType() == CometEvent.EventType.ERROR) {
final EventSubType subtype = event.getEventSubType();
if (subtype == CometEvent.EventSubType.TIMEOUT) {
log.info("ignore timeout");
} else if (subtype == CometEvent.EventSubType.CLIENT_DISCONNECT)
{
closeSessionConnection(httpSession.getId(), false);
event.close();
}
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org