335641 sweep works with async

git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2735 7e9141cc-0065-0410-87d8-b60c137991c4
This commit is contained in:
Greg Wilkins 2011-02-03 09:53:26 +00:00
parent e9e2236760
commit 36e7aea16e
1 changed files with 1 additions and 1 deletions

View File

@ -625,7 +625,7 @@ public class SelectChannelEndPoint extends ChannelEndPoint implements AsyncEndPo
{
synchronized (this)
{
if (!_changing && !_dispatched && key.interestOps()!=_interestOps)
if (!_changing && key.interestOps()!=_interestOps && isReadyForDispatch())
{
Log.warn("NIO InterestOps mismatch "+key.interestOps()+"!="+_interestOps+" for "+this);
updateKey();