netty5/codec/src
Norman Maurer 942b993f2b Only enable validation of headers if original headers were validating as well.
Motiviation:

In our replace(...) methods we always used validation for the newly created headers while the original headers may not use validation at all.

Modifications:

- Only use validation if the original headers used validation as well.
- Ensure we create a copy of the headers in replace(...).

Result:

Fixes [#5226]
2017-12-21 07:32:29 +01:00
..
main/java/io/netty/handler/codec Only enable validation of headers if original headers were validating as well. 2017-12-21 07:32:29 +01:00
test Make methods 'static' where it possible 2017-10-21 14:59:26 +02:00