Skip to content

Commit

Permalink
ServerTransport.Acceptor#exceptionCaught should not propagate the eve…
Browse files Browse the repository at this point in the history
…nt (reactor#2433)

There are no other `ChannelHandlers` in the pipeline except `ServerTransport.Acceptor`, thus
it is not needed to propagate the event.
  • Loading branch information
violetagg authored Aug 16, 2022
1 parent 4e9a237 commit 8580b38
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -405,9 +405,6 @@ public void exceptionCaught(ChannelHandlerContext ctx, Throwable cause) {
}
});
}
// still let the exceptionCaught event flow through the pipeline to give the user
// a chance to do something with it
ctx.fireExceptionCaught(cause);
}

void enableAutoReadTask(Channel channel) {
Expand Down

0 comments on commit 8580b38

Please sign in to comment.