Fixed spinning loop that called onFillable() in case of closed
connection.
This commit is contained in:
parent
fd1c9dd8d2
commit
15781da755
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue