public static final java.lang.String DISCONNECTED_CLIENT_LOG_CATEGORY
Log category to use on network IO exceptions after a client has gone away.
The Servlet API does not provide notifications when a client disconnects;
Therefore network IO failures may occur simply because a client has gone away,
and that can fill the logs with unnecessary stack traces.
We make a best effort to identify such network failures, on a per-server
basis, and log them under a separate log category. A simple one-line message
is logged at DEBUG level, while a full stack trace is shown at TRACE level.
Disable the SockJS heartbeat, presumably because a higher-level protocol
has heartbeats enabled for the session already. It is not recommended to
disable this otherwise, as it helps proxies to know the connection is
Polling and Streaming sessions periodically close the current HTTP request and
wait for the next request to come through. During this "downtime" the session is
still open but inactive and unable to send messages and therefore has to buffer
them temporarily. A WebSocket session by contrast is stateful and remain active