diff --git a/jetty-core/jetty-server/src/main/java/org/eclipse/jetty/server/internal/HttpConnection.java b/jetty-core/jetty-server/src/main/java/org/eclipse/jetty/server/internal/HttpConnection.java index ef013c36241..cb1213a2e58 100644 --- a/jetty-core/jetty-server/src/main/java/org/eclipse/jetty/server/internal/HttpConnection.java +++ b/jetty-core/jetty-server/src/main/java/org/eclipse/jetty/server/internal/HttpConnection.java @@ -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)