netty5/codec/src
Norman Maurer ca44436ce6 [#4265] Not allow to add/set DefaultHttpHeaders to itself.
Motivation:

We should prevent to add/set DefaultHttpHeaders to itself to prevent unexpected side-effects.

Modifications:

Throw IllegalArgumentException if user tries to pass the same instance to set/add.

Result:

No surprising side-effects.
2015-09-30 08:57:53 +02:00
..
main/java/io/netty/handler/codec [#4265] Not allow to add/set DefaultHttpHeaders to itself. 2015-09-30 08:57:53 +02:00
test [#4265] Not allow to add/set DefaultHttpHeaders to itself. 2015-09-30 08:57:53 +02:00