netty5/handler
Norman Maurer a2bf0bfd7a SslHandler.wrap(...) must ensure it not loose the original exception when finishWrap(...) fails (#9974)
Motivation:

When SslHandler.finishWrap throws an exception, ensure that the promise and buf is not reused to avoid throwing IllegalArgumentException or IllegalReferenceCountException which causes the original exception to be lost.

Modification:

The change ensures that the values for the promise and bytebuf are nulled before calling finishWrap so that it will not be called again with the same arguments.

Result:

Fixes #9971 .

Co-authored-by: Norman Maurer <norman_maurer@apple.com>

Co-authored-by: Antony T Curtis <atcurtis@gmail.com>
2020-01-29 08:47:04 +01:00
..
src SslHandler.wrap(...) must ensure it not loose the original exception when finishWrap(...) fails (#9974) 2020-01-29 08:47:04 +01:00
pom.xml Add ResolveAddressHandler which can be used to resolve addresses on the fly (#9947) 2020-01-20 19:34:09 +01:00