netty5/codec-http/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 HTTP/2 defines using String instead of CharSequence 2015-09-16 14:55:33 -07:00
test [#4265] Not allow to add/set DefaultHttpHeaders to itself. 2015-09-30 08:57:53 +02:00