netty5/codec-http/src
Norman Maurer d4079d1403 [#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:45:44 +02:00
..
main/java/io/netty/handler/codec [#4265] Not allow to add/set DefaultHttpHeaders to itself. 2015-09-30 08:45:44 +02:00
test [#4265] Not allow to add/set DefaultHttpHeaders to itself. 2015-09-30 08:45:44 +02:00