#10543 align buffer releasing in all streams' consumeAvailable() implementations
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
This commit is contained in:
parent
70d333f376
commit
56eadabbfb
|
@ -1158,7 +1158,6 @@ public class HttpConnection extends AbstractConnection implements Runnable, Writ
|
|||
if (result != null)
|
||||
{
|
||||
_generator.setPersistent(false);
|
||||
_retainableByteBuffer = null;
|
||||
// If HttpStream.consumeAvailable() returns an error, there may be unconsumed content left,
|
||||
// so we must make sure the buffer is released and that the next chunk indicates the end of the stream.
|
||||
if (_chunk != null)
|
||||
|
|
Loading…
Reference in New Issue