turned off scanner, nothing found since 7.3.0 other than false positives
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2851 7e9141cc-0065-0410-87d8-b60c137991c4
This commit is contained in:
parent
719449a419
commit
fbb0027f2e
|
@ -622,21 +622,4 @@ public class SelectChannelEndPoint extends ChannelEndPoint implements AsyncEndPo
|
|||
_maxIdleTime=timeMs;
|
||||
}
|
||||
|
||||
/* ------------------------------------------------------------ */
|
||||
/**
|
||||
* This looks for undispatched endpoints that have key.interestOps!=endp.interestOps
|
||||
* @TODO find out the root cause of this and delete this method.
|
||||
*/
|
||||
public void checkKey(SelectionKey key)
|
||||
{
|
||||
synchronized (this)
|
||||
{
|
||||
if (!_changing && key.interestOps()!=_interestOps && isReadyForDispatch())
|
||||
{
|
||||
Log.warn("NIO InterestOps mismatch "+key.interestOps()+"!="+_interestOps+" for "+this);
|
||||
updateKey();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -604,16 +604,6 @@ public abstract class SelectorManager extends AbstractLifeCycle implements Dumpa
|
|||
}
|
||||
}
|
||||
});
|
||||
|
||||
// TODO find root cause and remove this
|
||||
// This looks for undispatched endpoints that have key.interestOps!=endp.interestOps
|
||||
for (SelectionKey key: selector.keys())
|
||||
{
|
||||
if (key.isValid() && key.attachment() instanceof SelectChannelEndPoint)
|
||||
{
|
||||
((SelectChannelEndPoint)key.attachment()).checkKey(key);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (CancelledKeyException e)
|
||||
|
|
Loading…
Reference in New Issue