reduce verbosity of no progress checks

This commit is contained in:
Greg Wilkins 2011-10-11 01:37:15 +11:00
parent 64ce44c3dc
commit 3b80b206f3
1 changed files with 2 additions and 2 deletions

View File

@ -142,13 +142,13 @@ public class AsyncHttpConnection extends HttpConnection
LOG.info("EndPoint making no progress: "+_total_no_progress+" "+_endp);
}
if (NO_PROGRESS_CLOSE>0 && _total_no_progress>NO_PROGRESS_CLOSE)
if (NO_PROGRESS_CLOSE>0 && _total_no_progress==NO_PROGRESS_CLOSE)
{
LOG.warn("Closing EndPoint making no progress: "+_total_no_progress+" "+_endp);
_endp.close();
if (_endp instanceof SelectChannelEndPoint)
{
System.err.println(((SelectChannelEndPoint)_endp).getSelectManager().dump());
((SelectChannelEndPoint)_endp).getChannel().close();
}
}
}