netty5/codec-http/src/main/java/io/netty/handler/codec/http/websocketx
ursa 7fc718db3c 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:05:58 +02:00
..
extensions Ensure "full" ownership of msgs passed to EmbeddedChannel.writeInbound() (#9058) 2019-05-22 12:08:49 +02:00
BinaryWebSocketFrame.java Add user possibility to skip the evaluation of a certain websocket ex… (#8910) 2019-03-22 14:48:22 +01:00
CloseWebSocketFrame.java WebSocket is closed without an error on protocol violations (#9116) 2019-06-18 10:05:58 +02:00
ContinuationWebSocketFrame.java Add user possibility to skip the evaluation of a certain websocket ex… (#8910) 2019-03-22 14:48:22 +01:00
CorruptedWebSocketFrameException.java WebSocket is closed without an error on protocol violations (#9116) 2019-06-18 10:05:58 +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 14:48:22 +01:00
PongWebSocketFrame.java Add user possibility to skip the evaluation of a certain websocket ex… (#8910) 2019-03-22 14:48:22 +01:00
TextWebSocketFrame.java Add user possibility to skip the evaluation of a certain websocket ex… (#8910) 2019-03-22 14:48:22 +01:00
Utf8FrameValidator.java Close connection for CorruptedFrameException (#8705) 2019-01-17 07:17:12 +01:00
Utf8Validator.java WebSocket is closed without an error on protocol violations (#9116) 2019-06-18 10:05:58 +02:00
WebSocket07FrameDecoder.java WebSocket is closed without an error on protocol violations (#9116) 2019-06-18 10:05:58 +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:05:58 +02:00
WebSocket08FrameEncoder.java Fix spelling in javadocs and field name. 2016-02-01 12:03:14 +01:00
WebSocket13FrameDecoder.java WebSocket is closed without an error on protocol violations (#9116) 2019-06-18 10:05:58 +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:05:58 +02:00
WebSocket00FrameEncoder.java [#2768] Correctly duplicate buffer for CloseWebSocketFrames 2014-08-14 09:54:35 +02:00
WebSocketChunkedInput.java Support WebSocket data chunked transfer 2016-06-13 08:55:07 +02:00
WebSocketClientHandshaker.java Introduce WebSocketClientHandshaker::absoluteUpgradeUrl, close #9205 (#9206) 2019-06-07 16:01:10 -07:00
WebSocketClientHandshaker07.java Introduce WebSocketClientHandshaker::absoluteUpgradeUrl, close #9205 (#9206) 2019-06-07 16:01:10 -07:00
WebSocketClientHandshaker08.java Introduce WebSocketClientHandshaker::absoluteUpgradeUrl, close #9205 (#9206) 2019-06-07 16:01:10 -07:00
WebSocketClientHandshaker13.java Introduce WebSocketClientHandshaker::absoluteUpgradeUrl, close #9205 (#9206) 2019-06-07 16:01:10 -07:00
WebSocketClientHandshaker00.java Introduce WebSocketClientHandshaker::absoluteUpgradeUrl, close #9205 (#9206) 2019-06-07 16:01:10 -07:00
WebSocketClientHandshakerFactory.java Introduce WebSocketClientHandshaker::absoluteUpgradeUrl, close #9205 (#9206) 2019-06-07 16:01:10 -07:00
WebSocketClientProtocolHandler.java Support handshake timeout in websocket handlers (#8856) 2019-05-22 12:37:28 +02:00
WebSocketClientProtocolHandshakeHandler.java Do not use static exceptions for websocket handshake timeout (#9174) 2019-05-23 08:24:03 +02:00
WebSocketCloseStatus.java WebSocket is closed without an error on protocol violations (#9116) 2019-06-18 10:05:58 +02:00
WebSocketDecoderConfig.java WebSocket is closed without an error on protocol violations (#9116) 2019-06-18 10:05:58 +02:00
WebSocketFrame.java Add user possibility to skip the evaluation of a certain websocket ex… (#8910) 2019-03-22 14:48:22 +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 [#1515] Add WebSocketFrameEncoder and WebSocketFrameDecoder interfaces and let our impls implement it 2013-07-04 06:41:22 +02: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:05:58 +02:00
WebSocketServerHandshaker07.java WebSocket is closed without an error on protocol violations (#9116) 2019-06-18 10:05:58 +02:00
WebSocketServerHandshaker08.java WebSocket is closed without an error on protocol violations (#9116) 2019-06-18 10:05:58 +02:00
WebSocketServerHandshaker13.java WebSocket is closed without an error on protocol violations (#9116) 2019-06-18 10:05:58 +02:00
WebSocketServerHandshaker00.java WebSocket is closed without an error on protocol violations (#9116) 2019-06-18 10:05:58 +02:00
WebSocketServerHandshakerFactory.java WebSocket is closed without an error on protocol violations (#9116) 2019-06-18 10:05:58 +02:00
WebSocketServerProtocolHandler.java WebSocket is closed without an error on protocol violations (#9116) 2019-06-18 10:05:58 +02:00
WebSocketServerProtocolHandshakeHandler.java WebSocket is closed without an error on protocol violations (#9116) 2019-06-18 10:05:58 +02:00
WebSocketUtil.java Fix random number generators in WebSocketUtil 2018-06-25 14:42:59 +02:00
WebSocketVersion.java #751 - Added support for legacy websocket v7 in order to pass SocksJS tests 2012-12-19 12:35:56 +01:00