Skip to content

Commit

Permalink
Merge pull request #342 from NiteshKant/0.x
Browse files Browse the repository at this point in the history
Errors in the pipeline post response header delivery were lost.
  • Loading branch information
NiteshKant committed Mar 24, 2015
2 parents 3b75a70 + fa34f9c commit 27a8ec3
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,12 @@ public void channelInactive(ChannelHandlerContext ctx) throws Exception {
super.channelInactive(ctx);
}

@Override
public void exceptionCaught(ChannelHandlerContext ctx, Throwable cause) throws Exception {
responseState.sendOnError(cause);
super.exceptionCaught(ctx, cause);
}

@SuppressWarnings("unchecked")
private static void invokeContentOnNext(Object nextObject, ResponseState stateToUse) {
try {
Expand Down

0 comments on commit 27a8ec3

Please sign in to comment.