From beda02fad051e95f030f7b548bf10bb9b13595ac Mon Sep 17 00:00:00 2001 From: Norman Maurer Date: Tue, 8 Oct 2013 06:39:21 +0200 Subject: [PATCH] [#1898] No call fireExceptionCaught but just fail the write promise --- .../io/netty/handler/stream/ChunkedWriteHandler.java | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/handler/src/main/java/io/netty/handler/stream/ChunkedWriteHandler.java b/handler/src/main/java/io/netty/handler/stream/ChunkedWriteHandler.java index ec915cd250..7c53d859f7 100644 --- a/handler/src/main/java/io/netty/handler/stream/ChunkedWriteHandler.java +++ b/handler/src/main/java/io/netty/handler/stream/ChunkedWriteHandler.java @@ -239,17 +239,6 @@ public class ChunkedWriteHandler } currentWrite.fail(t); - if (ctx.executor().inEventLoop()) { - ctx.fireExceptionCaught(t); - } else { - ctx.executor().execute(new Runnable() { - @Override - public void run() { - ctx.fireExceptionCaught(t); - } - }); - } - closeInput(chunks); break; }