Jetty9 - Always returning false from onReadTimeout(). Either we do not have to close, or the goAway() will close after it is written.

This commit is contained in:
Simone Bordet 2012-07-30 12:45:39 +02:00
parent c229915444
commit 36729c4248
1 changed files with 2 additions and 2 deletions

View File

@ -120,9 +120,9 @@ public class SPDYAsyncConnection extends AbstractAsyncConnection implements Cont
@Override
protected boolean onReadTimeout()
{
if(idle)
if (idle)
session.goAway();
return idle;
return false;
}
protected Session getSession()