Skip to content

Commit

Permalink
Fixed issue: NETTY-215 ChunkedWriteHandler stops handling write queue…
Browse files Browse the repository at this point in the history
… when ChunkedInput.nextChunk() fails.
  • Loading branch information
trustin committed Aug 27, 2009
1 parent 1574fc3 commit a09b750
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -139,11 +139,13 @@ private synchronized void flushWriteEventQueue(ChannelHandlerContext ctx) throws
} catch (Throwable t) {
currentEvent.getFuture().setFailure(t);
fireExceptionCaught(ctx, t);

try {
chunks.close();
} catch (Throwable t2) {
logger.warn("Failed to close a chunked input.", t2);
}
currentEvent = null;
break;
}

Expand Down

0 comments on commit a09b750

Please sign in to comment.