netty5/handler/src
Aayush Atharva 461b6e0f7b
Add Close method for closing OutputStream and PcapWriteHandler (#10638)
Motivation:
We should implement the Closeable method to properly close `OutputStream` and `PcapWriteHandler`. So whenever `handlerRemoved(ChannelHandlerContext)` is called or the user wants to stop the Pcap writes into `OutputStream`, we have a proper method to close it otherwise writing data to close `OutputStream` will result in `IOException`.

Modification:
Implemented `Closeable` in `PcapWriteHandler` which calls `PcapWriter#close` and closes `OutputStream` and stops Pcap writes.

Result:
Better handling of Pcap writes.
2020-10-08 11:52:17 +02:00
..
main Add Close method for closing OutputStream and PcapWriteHandler (#10638) 2020-10-08 11:52:17 +02:00
test Respect the Provider when detecting if TLSv1.3 is used by default / supported (#10621) 2020-09-29 16:59:11 +02:00