From 3d438c2028c70fd5d0695d2b1bbf27068ea5a35d Mon Sep 17 00:00:00 2001 From: Simone Bordet Date: Thu, 26 Dec 2013 12:52:20 +0100 Subject: [PATCH] 424651 - org.eclipse.jetty.spdy.Flusher use of non-growable ArrayQueue yield java.lang.IllegalStateException: Full. Made the ArrayQueue growable. --- .../spdy-core/src/main/java/org/eclipse/jetty/spdy/Flusher.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jetty-spdy/spdy-core/src/main/java/org/eclipse/jetty/spdy/Flusher.java b/jetty-spdy/spdy-core/src/main/java/org/eclipse/jetty/spdy/Flusher.java index 7c526b3762b..4e705082037 100644 --- a/jetty-spdy/spdy-core/src/main/java/org/eclipse/jetty/spdy/Flusher.java +++ b/jetty-spdy/spdy-core/src/main/java/org/eclipse/jetty/spdy/Flusher.java @@ -38,7 +38,7 @@ public class Flusher private final IteratingCallback callback = new FlusherCallback(); private final Object lock = new Object(); - private final ArrayQueue queue = new ArrayQueue<>(lock); + private final ArrayQueue queue = new ArrayQueue<>(ArrayQueue.DEFAULT_CAPACITY, ArrayQueue.DEFAULT_GROWTH, lock); private final Controller controller; private final int maxGather; private Throwable failure;