netty5/handler/src/test
Norman Maurer 29c471ec52 Correctly handle fragmented Handshake message when trying to detect SNI (#9806)
Motivation:

At the moment our AbstractSniHandler makes the assemption that Handshake messages are not fragmented. This is incorrect as it is completely valid to split these across multiple TLSPlaintext records.

Thanks to @sskrobotov for bringing this to my attentation and to @Lukasa for the help.

Modifications:

- Adjust logic in AbstractSniHandler to handle fragmentation
- Add unit tests

Result:

Correctly handle fragmented Handshake message in AbstractSniHandler (and so SniHandler).
2019-11-29 09:53:29 +01:00
..
java/io/netty/handler Correctly handle fragmented Handshake message when trying to detect SNI (#9806) 2019-11-29 09:53:29 +01:00
resources/io/netty/handler/ssl Don't double release ByteBuf when parsing of the X509Certificate fails (#8457) 2018-11-02 17:08:53 +01:00