hi,
Are there plans to address [1] for Servlet 4, if not could it be
considered?
It is the most voted issue and one that's pretty important for the async
support. Typically it comes up when sending events with potential lag in
between, e.g. SSE, WebSocket fallbacks, etc. The server side does not find
the connection is closed until the write for the next event fails.
The problem can be alleviated if a server-to-client heartbeat mechanism.
However that's not always readily available such as with SSE.
Rossen
[1]
https://java.net/jira/browse/SERVLET_SPEC-44