Commit 01d12ec9 authored by afreyssin's avatar afreyssin
Browse files

Logging enhancement.

parent 0cf02249
......@@ -726,8 +726,9 @@ public final class UserAgent extends Agent implements UserAgentMBean, ProxyAgent
reactToClientRequest(key.intValue(), request, not);
if (ctx.isClosed()) {
logger.log(BasicLevel.WARN, "RequestNot on closed context: " + key);
// CnxCloseRequest request = (CnxCloseRequest) not.getMessage();
if (!(request instanceof CnxCloseRequest))
logger.log(BasicLevel.WARN, "RequestNot on closed context: " + key);
connections.remove(key);
HeartBeatTask hbt = (HeartBeatTask) heartBeatTasks.remove(key);
if (hbt != null) hbt.cancel();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment