netty5/codec-http/src
Norman Maurer 91d3920aa2
HttpObjectDecoder ignores HTTP trailer header when empty line is rece… (#8799)
* HttpObjectDecoder ignores HTTP trailer header when empty line is received in seperate ByteBuf

Motivation:

When the empty line that termines the trailers was sent in a seperate ByteBuf we did ignore the previous parsed trailers and just returned none.

Modifications:

- Correct respect previous parsed trailers.
- Add unit test.

Result:

Fixes https://github.com/netty/netty/issues/8736
2019-01-31 20:27:47 +01:00
..
main/java/io/netty/handler/codec HttpObjectDecoder ignores HTTP trailer header when empty line is rece… (#8799) 2019-01-31 20:27:47 +01:00
test HttpObjectDecoder ignores HTTP trailer header when empty line is rece… (#8799) 2019-01-31 20:27:47 +01:00