netty5/codec-http/src/main/java/io/netty/handler
Norman Maurer 26c3abc63c
Add websocket encoder / decoder in correct order to the pipeline when HttpServerCodec is used (#9386)
Motivation:

We need to ensure we place the encoder before the decoder when doing the websockets upgrade as the decoder may produce a close frame when protocol violations are detected.

Modifications:

- Correctly place encoder before decoder
- Add unit test

Result:

Fixes https://github.com/netty/netty/issues/9300
2019-07-18 10:19:09 +02:00
..
codec Add websocket encoder / decoder in correct order to the pipeline when HttpServerCodec is used (#9386) 2019-07-18 10:19:09 +02:00