424651 - org.eclipse.jetty.spdy.Flusher use of non-growable

ArrayQueue yield java.lang.IllegalStateException: Full.

Made the ArrayQueue growable.
This commit is contained in:
Simone Bordet 2013-12-26 12:52:20 +01:00
parent 858b737be1
commit 3d438c2028
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ public class Flusher
private final IteratingCallback callback = new FlusherCallback();
private final Object lock = new Object();
private final ArrayQueue<StandardSession.FrameBytes> queue = new ArrayQueue<>(lock);
private final ArrayQueue<StandardSession.FrameBytes> queue = new ArrayQueue<>(ArrayQueue.DEFAULT_CAPACITY, ArrayQueue.DEFAULT_GROWTH, lock);
private final Controller controller;
private final int maxGather;
private Throwable failure;