Merge remote-tracking branch 'origin/master' into jetty-http2
This commit is contained in:
commit
55aa2a07b4
|
@ -292,6 +292,15 @@ public abstract class HttpInput extends ServletInputStream implements Runnable
|
||||||
_channelState.onReadPossible();
|
_channelState.onReadPossible();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public boolean isEarlyEOF()
|
||||||
|
{
|
||||||
|
synchronized (lock())
|
||||||
|
{
|
||||||
|
return _contentState==EARLY_EOF;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This method should be called to signal that all the expected
|
* This method should be called to signal that all the expected
|
||||||
* content arrived.
|
* content arrived.
|
||||||
|
@ -361,6 +370,7 @@ public abstract class HttpInput extends ServletInputStream implements Runnable
|
||||||
return _contentState.isEOF();
|
return _contentState.isEOF();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean isReady()
|
public boolean isReady()
|
||||||
|
@ -517,7 +527,7 @@ public abstract class HttpInput extends ServletInputStream implements Runnable
|
||||||
@Override
|
@Override
|
||||||
public int noContent() throws IOException
|
public int noContent() throws IOException
|
||||||
{
|
{
|
||||||
throw new EofException();
|
throw new EofException("Early EOF");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in New Issue