netty5/codec-http/src/main/java/io/netty/handler/codec/http/websocketx
Norman Maurer 2ef4b16138 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:33 +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 Cleanup in websockets, throw exception before allocating response if possible (#9361) 2019-07-16 13:21:16 +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 Change the netty.io homepage scheme(http -> https) (#9344) 2019-07-09 21:10:14 +02: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 Cleanup in websockets, throw exception before allocating response if possible (#9361) 2019-07-16 13:21:16 +02: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 Fixed incorrect Sec-WebSocket-Origin header for v13, see #9134 (#9312) 2019-07-12 12:06:11 +02: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 Bugfix #9257: WebSocketProtocolHandler does NOT support autoRead=false (#9258) 2019-06-24 09:08:30 +02:00
WebSocketScheme.java Immediate caching the strings wrapped to AsciiString 2017-08-15 06:22:14 +02:00
WebSocketServerHandshaker.java Add websocket encoder / decoder in correct order to the pipeline when HttpServerCodec is used (#9386) 2019-07-18 10:19:33 +02:00
WebSocketServerHandshaker07.java Cleanup in websockets, throw exception before allocating response if possible (#9361) 2019-07-16 13:21:16 +02:00
WebSocketServerHandshaker08.java Cleanup in websockets, throw exception before allocating response if possible (#9361) 2019-07-16 13:21:16 +02:00
WebSocketServerHandshaker13.java Cleanup in websockets, throw exception before allocating response if possible (#9361) 2019-07-16 13:21:16 +02:00
WebSocketServerHandshaker00.java Cleanup in websockets, throw exception before allocating response if possible (#9361) 2019-07-16 13:21:16 +02:00
WebSocketServerHandshakerFactory.java WebSocket is closed without an error on protocol violations (#9116) 2019-06-18 10:13:05 +02:00
WebSocketServerProtocolHandler.java Cleanup in websockets, throw exception before allocating response if possible (#9361) 2019-07-16 13:21:16 +02:00
WebSocketServerProtocolHandshakeHandler.java Cleanup in websockets, throw exception before allocating response if possible (#9361) 2019-07-16 13:21:16 +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