netty5/handler/src/main/java/io/netty
Norman Maurer cbebad8417
We need to ensure we always drain the error stack when a callback throws (#10920)
Motivation:

We need to ensure we always drain the error stack when a callback throws as otherwise we may pick up the error on a different SSL instance which uses the same thread.

Modifications:

- Correctly drain the error stack if native method throws
- Add a unit test which failed before the change

Result:

Always drain the error stack
2021-01-11 20:56:52 +01:00
..
handler We need to ensure we always drain the error stack when a callback throws (#10920) 2021-01-11 20:56:52 +01:00