提交 99d9dacc 编写于 作者: R Rossen Stoyanchev

Log sendBufferSizeLimit exceeded at warn

Closes gh-23534
上级 27942644
......@@ -359,6 +359,9 @@ public class SubProtocolWebSocketHandler
if (logger.isDebugEnabled()) {
logger.debug("Terminating '" + session + "'", ex);
}
else if (logger.isWarnEnabled()) {
logger.debug("Terminating '" + session + "': " + ex.getMessage());
}
this.stats.incrementLimitExceededCount();
clearSession(session, ex.getStatus()); // clear first, session may be unresponsive
session.close(ex.getStatus());
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册