netty5/codec-http/src/main/java/io/netty/handler/codec/http/websocketx
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
..
extensions Ensure "full" ownership of msgs passed to EmbeddedChannel.writeInbound() (#9058) 2019-05-22 12:35:03 +02:00
BinaryWebSocketFrame.java Add user possibility to skip the evaluation of a certain websocket ex… (#8910) 2019-03-22 15:02:54 +01:00
CloseWebSocketFrame.java WebSocket is closed without an error on protocol violations (#9116) 2019-06-18 10:13:05 +02:00
ContinuationWebSocketFrame.java Add user possibility to skip the evaluation of a certain websocket ex… (#8910) 2019-03-22 15:02:54 +01:00
CorruptedWebSocketFrameException.java WebSocket is closed without an error on protocol violations (#9116) 2019-06-18 10:13:05 +02:00
package-info.java Use our own URL shortener wherever possible 2014-07-31 17:06:19 -07:00
PingWebSocketFrame.java Add user possibility to skip the evaluation of a certain websocket ex… (#8910) 2019-03-22 15:02:54 +01:00
PongWebSocketFrame.java Add user possibility to skip the evaluation of a certain websocket ex… (#8910) 2019-03-22 15:02:54 +01:00
TextWebSocketFrame.java Add user possibility to skip the evaluation of a certain websocket ex… (#8910) 2019-03-22 15:02:54 +01:00
Utf8FrameValidator.java Deprecate ChannelInboundHandlerAdapter and ChannelOutboundHandlerAdapter (#8929) 2019-03-13 09:46:10 +01:00
Utf8Validator.java WebSocket is closed without an error on protocol violations (#9116) 2019-06-18 10:13:05 +02:00
WebSocket07FrameDecoder.java WebSocket is closed without an error on protocol violations (#9116) 2019-06-18 10:13:05 +02:00
WebSocket07FrameEncoder.java #751 - Added support for legacy websocket v7 in order to pass SocksJS tests 2012-12-19 12:35:56 +01:00
WebSocket08FrameDecoder.java WebSocket is closed without an error on protocol violations (#9116) 2019-06-18 10:13:05 +02:00
WebSocket08FrameEncoder.java Java 8 migration. Remove WebSocketUtil.randomNumber (#8830) 2019-02-04 11:00:46 +01:00
WebSocket13FrameDecoder.java WebSocket is closed without an error on protocol violations (#9116) 2019-06-18 10:13:05 +02:00
WebSocket13FrameEncoder.java Update license headers 2012-06-04 13:31:44 -07:00
WebSocket00FrameDecoder.java WebSocket is closed without an error on protocol violations (#9116) 2019-06-18 10:13:05 +02:00
WebSocket00FrameEncoder.java [#2768] Correctly duplicate buffer for CloseWebSocketFrames 2014-08-14 09:54:35 +02:00
WebSocketChunkedInput.java migrate java8: use requireNonNull (#8840) 2019-02-04 10:32:25 +01:00
WebSocketClientHandshaker.java Introduce WebSocketClientHandshaker::absoluteUpgradeUrl, close #9205 (#9206) 2019-06-07 16:01:49 -07:00
WebSocketClientHandshaker07.java Introduce WebSocketClientHandshaker::absoluteUpgradeUrl, close #9205 (#9206) 2019-06-07 16:01:49 -07:00
WebSocketClientHandshaker08.java Introduce WebSocketClientHandshaker::absoluteUpgradeUrl, close #9205 (#9206) 2019-06-07 16:01:49 -07:00
WebSocketClientHandshaker13.java Introduce WebSocketClientHandshaker::absoluteUpgradeUrl, close #9205 (#9206) 2019-06-07 16:01:49 -07:00
WebSocketClientHandshaker00.java Introduce WebSocketClientHandshaker::absoluteUpgradeUrl, close #9205 (#9206) 2019-06-07 16:01:49 -07:00
WebSocketClientHandshakerFactory.java Introduce WebSocketClientHandshaker::absoluteUpgradeUrl, close #9205 (#9206) 2019-06-07 16:01:49 -07:00
WebSocketClientProtocolHandler.java Support handshake timeout in websocket handlers (#8856) 2019-05-22 13:56:36 +02:00
WebSocketClientProtocolHandshakeHandler.java Do not use static exceptions for websocket handshake timeout (#9174) 2019-05-23 08:36:37 +02:00
WebSocketCloseStatus.java WebSocket is closed without an error on protocol violations (#9116) 2019-06-18 10:13:05 +02:00
WebSocketDecoderConfig.java WebSocket is closed without an error on protocol violations (#9116) 2019-06-18 10:13:05 +02:00
WebSocketFrame.java Add user possibility to skip the evaluation of a certain websocket ex… (#8910) 2019-03-22 15:02:54 +01:00
WebSocketFrameAggregator.java HttpObjectAggregator doesn't check content-length header 2015-08-17 09:26:50 -07:00
WebSocketFrameDecoder.java [#1515] Add WebSocketFrameEncoder and WebSocketFrameDecoder interfaces and let our impls implement it 2013-07-04 06:41:22 +02:00
WebSocketFrameEncoder.java Merge ChannelInboundHandler and ChannelOutboundHandler into ChannelHa… (#8957) 2019-03-28 09:28:27 +00:00
WebSocketHandshakeException.java Update license headers 2012-06-04 13:31:44 -07:00
WebSocketProtocolHandler.java Propagate pong frames in WebSocketProtocolHandler (#7955) 2018-05-24 20:27:29 +02:00
WebSocketScheme.java Immediate caching the strings wrapped to AsciiString 2017-08-15 06:22:14 +02:00
WebSocketServerHandshaker.java WebSocket is closed without an error on protocol violations (#9116) 2019-06-18 10:13:05 +02:00
WebSocketServerHandshaker07.java WebSocket is closed without an error on protocol violations (#9116) 2019-06-18 10:13:05 +02:00
WebSocketServerHandshaker08.java WebSocket is closed without an error on protocol violations (#9116) 2019-06-18 10:13:05 +02:00
WebSocketServerHandshaker13.java WebSocket is closed without an error on protocol violations (#9116) 2019-06-18 10:13:05 +02:00
WebSocketServerHandshaker00.java WebSocket is closed without an error on protocol violations (#9116) 2019-06-18 10:13:05 +02:00
WebSocketServerHandshakerFactory.java WebSocket is closed without an error on protocol violations (#9116) 2019-06-18 10:13:05 +02:00
WebSocketServerProtocolHandler.java WebSocket is closed without an error on protocol violations (#9116) 2019-06-18 10:13:05 +02:00
WebSocketServerProtocolHandshakeHandler.java WebSocket is closed without an error on protocol violations (#9116) 2019-06-18 10:13:05 +02:00
WebSocketUtil.java Java 8 migration. Move WebSocketUtil.base64 to java version instead of netty (#8837) 2019-02-12 10:10:06 -08:00
WebSocketVersion.java Simplify WebSocketVersion code 2019-02-25 19:49:05 +01:00