netty5/codec-http/src/main
ursa d9db218291 WebSocket is closed without an error on protocol violations (#9116)
Motivation:

Incorrect WebSockets closure affects our production system.
Enforced 'close socket on any protocol violation' prevents our custom termination sequence from execution.
Huge number of parameters is a nightmare both in usage and in support (decoders configuration).

Modification:

- Fix violations handling - send proper response codes.
- Fix for messages leak.
- Introduce decoder's option to disable default behavior (send close frame) on protocol violations.
- Encapsulate WebSocket response codes - WebSocketCloseStatus.
- Encapsulate decoder's configuration into a separate class - WebSocketDecoderConfig.

Result:

Fixes #8295.
2019-06-18 10:13:05 +02:00
..
java/io/netty/handler/codec WebSocket is closed without an error on protocol violations (#9116) 2019-06-18 10:13:05 +02:00
resources/META-INF/native-image/io.netty/codec-http Remove deprecated GraalVM native-image flags (#9118) 2019-05-22 19:22:03 +02:00