From 44f9766ddcc9e10a4e25f5bc43c285850b80d425 Mon Sep 17 00:00:00 2001 From: Greg Wilkins Date: Fri, 17 Mar 2017 09:22:27 +1100 Subject: [PATCH] Issue #1401 recycle write listener --- .../src/main/java/org/eclipse/jetty/server/HttpOutput.java | 2 ++ 1 file changed, 2 insertions(+) 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 e7c6f3639cf..08319639e52 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 @@ -877,6 +877,8 @@ public class HttpOutput extends ServletOutputStream implements Runnable _commitSize = _bufferSize; releaseBuffer(); _written = 0; + _writeListener = null; + _onError = null; reopen(); }