Fixed spinning loop that called onFillable() in case of closed

connection.
This commit is contained in:
Simone Bordet 2014-09-11 00:33:47 +02:00
parent fd1c9dd8d2
commit 15781da755
1 changed files with 1 additions and 1 deletions

View File

@ -266,7 +266,7 @@ public class HttpConnection extends AbstractConnection implements Runnable, Http
finally
{
setCurrentConnection(last);
if (!suspended && getEndPoint().isOpen() && getEndPoint().getConnection()==this)
if (!suspended && !getEndPoint().isInputShutdown() && getEndPoint().getConnection()==this)
{
fillInterested();
}