https://bz.apache.org/bugzilla/show_bug.cgi?id=62028

--- Comment #1 from Mark Thomas <ma...@apache.org> ---
Comment on attachment 35693
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=35693
Tomcat 9 log, regarding Server Sent Events

The NPE on shutdown looks like a Tomcat bug to me and we should get that fixed.

The IOException on connection close is exactly what should happen. This is an
asynchronous request using blocking I/O (WebSocket is not involved here based
on the stack trace) as far as I can tell so Tomcat has no way of knowing the
socket is closed until the app tries to write to the socket. At that point an
IOException is thrown. The app does't handle it so Tomcat logs it. This is all
as designed. I'd expect either the app or possibly Spring to handle this case.

-- 
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

Reply via email to