2c78b4c84f
Motivation: In AbstractChannelHandlerContext we had some code where we tried to guard against endless loops caused by exceptions thrown by exceptionCaught(...) that would trigger exceptionCaught again. This code was proplematic for two reasons: - It is quite expensive as we need to compare all the stacks - We may end up not notify another handlers exceptionCaught(...) if in our exeuction stack we triggered actions that will cause an exceptionCaught somewhere else in the pipeline Modifications: - Just remove the detection code as we already handle everything correctly when we invoke exceptionCaught(...) - Add unit tests Result: Ensure we always notify correctly and also fixes performance issue reported as https://github.com/netty/netty/issues/10165 |
||
---|---|---|
.. | ||
src | ||
pom.xml |