diff --git a/jetty-server/src/main/java/org/eclipse/jetty/server/HttpOutput.java b/jetty-server/src/main/java/org/eclipse/jetty/server/HttpOutput.java index cabf2815005..5095076710e 100644 --- a/jetty-server/src/main/java/org/eclipse/jetty/server/HttpOutput.java +++ b/jetty-server/src/main/java/org/eclipse/jetty/server/HttpOutput.java @@ -918,6 +918,8 @@ public class HttpOutput extends ServletOutputStream implements Runnable _commitSize = _bufferSize; releaseBuffer(); _written = 0; + _writeListener = null; + _onError = null; reopen(); }