netty5/transport/src
Norman Maurer 1e87c711b4
Ensure we create a copy of the attributes and options when bootstrap a channel (#10965)
Motivation:

We need to ensure we copy the attributes and options when bootstrap the channel as otherwise we may change the underlying Entry.
This is similar to what was reported in https://github.com/netty/netty-incubator-codec-quic/issues/152.

Modifications:

- Do a copy and re-use methods
- Add unit tests

Result:

Don't affect attributes / options of channels that are already bootstrapped
2021-01-26 19:26:20 +01:00
..
main Ensure we create a copy of the attributes and options when bootstrap a channel (#10965) 2021-01-26 19:26:20 +01:00
test/java/io/netty Ensure we create a copy of the attributes and options when bootstrap a channel (#10965) 2021-01-26 19:26:20 +01:00