#10543 align buffer releasing in all streams' consumeAvailable() implementations

Signed-off-by: Ludovic Orban <lorban@bitronix.be>
This commit is contained in:
Ludovic Orban 2023-09-26 15:29:13 +02:00
parent 70d333f376
commit 56eadabbfb
1 changed files with 0 additions and 1 deletions

View File

@ -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)