Mantis - Resin
Viewing Issue Advanced Details
3630 minor always 08-07-09 14:30 09-11-09 18:15
closed 3.1.6  
none 4.0.2  
0003630: ClientDisconnect with Comet servlet
(rep by Fiaz Hossain)

I am using the CometServlet in Resin 3.1.6 and ResinPro. It seems like when I am using the JNI library from Pro the server is not getting any indication of when the client has disconnected. In partcular the call - controller.isClosed() never returns true even when the client has gone away. We have noticed similar issues with Regular servlet code too where the server keeps on writing data to an outputstream without any error when the client has actually terminated the connection. Seems like the IOException is being trapped and ignored even when I have the following specified
If I take the JNI library out we seem to get the IOException properly. Is there something wrong with the way we built the JNI library?

There are no notes attached to this issue.