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:
parent
e9e2236760
commit
36e7aea16e
|
@ -625,7 +625,7 @@ public class SelectChannelEndPoint extends ChannelEndPoint implements AsyncEndPo
|
||||||
{
|
{
|
||||||
synchronized (this)
|
synchronized (this)
|
||||||
{
|
{
|
||||||
if (!_changing && !_dispatched && key.interestOps()!=_interestOps)
|
if (!_changing && key.interestOps()!=_interestOps && isReadyForDispatch())
|
||||||
{
|
{
|
||||||
Log.warn("NIO InterestOps mismatch "+key.interestOps()+"!="+_interestOps+" for "+this);
|
Log.warn("NIO InterestOps mismatch "+key.interestOps()+"!="+_interestOps+" for "+this);
|
||||||
updateKey();
|
updateKey();
|
||||||
|
|
Loading…
Reference in New Issue