From 675b5641f451e60d15dc571f098079a83a4178bc Mon Sep 17 00:00:00 2001 From: Norman Maurer Date: Wed, 8 Apr 2015 11:29:59 +0200 Subject: [PATCH] [#3592] Flush when writing HttpChunkedInput Motivation: We missed to flush the channel when using HttpChunkedInput (this is done when using SSL). This will result in a stale. Modifications: Replace ctx.write(...) with ctx.writeAndFlush(...) Result: Correctly working example. --- .../io/netty/example/http/file/HttpStaticFileServerHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example/src/main/java/io/netty/example/http/file/HttpStaticFileServerHandler.java b/example/src/main/java/io/netty/example/http/file/HttpStaticFileServerHandler.java index ab9790e8c1..20885fcc13 100644 --- a/example/src/main/java/io/netty/example/http/file/HttpStaticFileServerHandler.java +++ b/example/src/main/java/io/netty/example/http/file/HttpStaticFileServerHandler.java @@ -195,7 +195,7 @@ public class HttpStaticFileServerHandler extends SimpleChannelInboundHandler