diff --git a/jetty-client/src/main/java/org/eclipse/jetty/client/util/BlockingResponseListener.java b/jetty-client/src/main/java/org/eclipse/jetty/client/util/BlockingResponseListener.java index 1adf4b387f9..b27c61b664b 100644 --- a/jetty-client/src/main/java/org/eclipse/jetty/client/util/BlockingResponseListener.java +++ b/jetty-client/src/main/java/org/eclipse/jetty/client/util/BlockingResponseListener.java @@ -40,6 +40,12 @@ public class BlockingResponseListener extends BufferingResponseListener implemen public BlockingResponseListener(Request request) { + this(request, 2 * 1024 * 1024); + } + + public BlockingResponseListener(Request request, int maxLength) + { + super(maxLength); this.request = request; }