netty5/handler/src
Norman Maurer 07ae838677 [#3968] Disallow pass-through of non ByteBufs in SslHandler
Motivation:

We pass-through non ByteBuf when SslHandler.write(...) is called which can lead to have unencrypted data to be send (like for example if a FileRegion is written).

Modifications:

- Fail ChannelPromise with UnsupportedMessageException if a non ByteBuf is written.

Result:

Only allow ByteBuf to be written when using SslHandler.
2015-07-22 13:31:24 +02:00
..
main/java/io/netty/handler [#3968] Disallow pass-through of non ByteBufs in SslHandler 2015-07-22 13:31:24 +02:00
test [#3968] Disallow pass-through of non ByteBufs in SslHandler 2015-07-22 13:31:24 +02:00