Jetty9 - Start counting for idleness when we register read interest.
Otherwise it was possible that the endPoint was created, upon creation it started counting for idleness, after a while read interested was set and the endPoint idle timed out before having the chance to read.
This commit is contained in:
parent
156f07d493
commit
7a1faf3c08
|
@ -150,6 +150,7 @@ public abstract class AbstractEndPoint implements EndPoint
|
|||
@Override
|
||||
public <C> void fillInterested(C context, Callback<C> callback) throws IllegalStateException
|
||||
{
|
||||
notIdle();
|
||||
_fillInterest.register(context, callback);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue