https://issues.apache.org/bugzilla/show_bug.cgi?id=53391
Priority: P2 Bug ID: 53391 Assignee: dev@tomcat.apache.org Summary: CometEvent.close() doesn't close socket when called from different thread Severity: normal Classification: Unclassified OS: Linux Reporter: l...@teamten.com Hardware: PC Status: NEW Version: 7.0.26 Component: Connectors Product: Tomcat 7 If I call CometEvent.close() from within the event() method, it works fine: the written data is flushed and the connection is closed. If I call it from a different thread (in response to a non-HTTP event), the data is flushed to the socket but the socket is not closed. This may be related to bug 51881 and this line in Http11NioProcessor.java: socket.getSocket().getPoller().add(socket.getSocket()); Simply calling response.close() doesn't work either. -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org