netty5/codec-http/src/main
Norman Maurer ac76a24ff6 Verify we do not receive multiple content-length headers or a content-length and transfer-encoding: chunked header when using HTTP/1.1 (#9865)
Motivation:

RFC7230 states that we should not accept multiple content-length headers and also should not accept a content-length header in combination with transfer-encoding: chunked

Modifications:

- Check for multiple content-length headers and if found mark message as invalid
- Check if we found a content-length header and also a transfer-encoding: chunked and if so mark the message as invalid
- Add unit test

Result:

Fixes https://github.com/netty/netty/issues/9861
2019-12-13 08:53:51 +01:00
..
java/io/netty/handler/codec Verify we do not receive multiple content-length headers or a content-length and transfer-encoding: chunked header when using HTTP/1.1 (#9865) 2019-12-13 08:53:51 +01:00
resources/META-INF/native-image/io.netty/codec-http Adds DeflateDecoder to native-image.properties of codec-http (#9708) 2019-10-25 20:15:54 +02:00