We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f947ff7 commit a0e2f8bCopy full SHA for a0e2f8b
modules/jooby-netty/src/main/java/io/jooby/internal/netty/NettyPipeline.java
@@ -20,6 +20,7 @@
20
import io.netty.handler.codec.http.HttpServerCodec;
21
import io.netty.handler.codec.http.HttpServerExpectContinueHandler;
22
import io.netty.handler.codec.http.HttpServerUpgradeHandler;
23
+import io.netty.handler.flush.FlushConsolidationHandler;
24
import io.netty.handler.ssl.SslContext;
25
26
public class NettyPipeline extends ChannelInitializer<SocketChannel> {
@@ -52,6 +53,7 @@ public NettyPipeline(
52
53
@Override
54
public void initChannel(SocketChannel ch) {
55
ChannelPipeline p = ch.pipeline();
56
+ p.addLast(new FlushConsolidationHandler());
57
if (sslContext != null) {
58
p.addLast("ssl", sslContext.newHandler(ch.alloc()));
59
}
0 commit comments