netty5/transport/src
Norman Maurer 32b3f58f63 Close channels that are released to a closed FixedChannelPool.
Motivation:

Channels returned to a FixedChannelPool after closing it remain active.

Since channels that where acquired from the pool are not closed during the close operation, they remain open even after releasing the channel back to the pool where they are then in accessible and become in-effect a connection leak.

Modification:

Close the released channel on releasing back to a closed pool.

Result:

Much harder to create a connection leak by closing an active
FixedChannelPool instance.
2017-06-28 18:50:51 +02:00
..
main/java/io/netty Close channels that are released to a closed FixedChannelPool. 2017-06-28 18:50:51 +02:00
test/java/io/netty Close channels that are released to a closed FixedChannelPool. 2017-06-28 18:50:51 +02:00