diff --git a/src/test/java/org/jboss/netty/handler/ssl/AbstractSocketSslEchoTest.java b/src/test/java/org/jboss/netty/handler/ssl/AbstractSocketSslEchoTest.java index 1d59a3ed1e..fc55fa4cef 100644 --- a/src/test/java/org/jboss/netty/handler/ssl/AbstractSocketSslEchoTest.java +++ b/src/test/java/org/jboss/netty/handler/ssl/AbstractSocketSslEchoTest.java @@ -108,6 +108,10 @@ public abstract class AbstractSocketSslEchoTest { sse.setUseClientMode(false); cse.setUseClientMode(true); + // Workaround for blocking I/O transport write-write dead lock. + sb.setOption("receiveBuffer", 1048576); + sb.setOption("receiveBuffer", 1048576); + sb.getPipeline().addFirst("ssl", new SslHandler(sse)); sb.getPipeline().addLast("handler", sh); cb.getPipeline().addFirst("ssl", new SslHandler(cse));