netty5/codec-http/src/main/java/io/netty/handler/codec/http/websocketx
Dmitriy Dumanskiy cd824e4e31 Cleanup in websockets, throw exception before allocating response if possible (#9361)
Motivation:

While fixing #9359 found few places that could be patched / improved separately.

Modification:

On handshake response generation - throw exception before allocating response objects if request is invalid.

Result:

No more leaks when exception is thrown.
2019-07-16 13:12:17 +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 Cleanup in websockets, throw exception before allocating response if possible (#9361) 2019-07-16 13:12:17 +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 Change the netty.io homepage scheme(http -> https) (#9344) 2019-07-09 21:09:42 +02: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 Cleanup in websockets, throw exception before allocating response if possible (#9361) 2019-07-16 13:12:17 +02: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 Fixed incorrect Sec-WebSocket-Origin header for v13, see #9134 (#9312) 2019-07-12 12:05:39 +02: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 Bugfix #9257: WebSocketProtocolHandler does NOT support autoRead=false (#9258) 2019-06-24 09:07:57 +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 Cleanup in websockets, throw exception before allocating response if possible (#9361) 2019-07-16 13:12:17 +02:00
WebSocketServerHandshaker08.java Cleanup in websockets, throw exception before allocating response if possible (#9361) 2019-07-16 13:12:17 +02:00
WebSocketServerHandshaker13.java Cleanup in websockets, throw exception before allocating response if possible (#9361) 2019-07-16 13:12:17 +02:00
WebSocketServerHandshaker00.java Cleanup in websockets, throw exception before allocating response if possible (#9361) 2019-07-16 13:12:17 +02:00
WebSocketServerHandshakerFactory.java WebSocket is closed without an error on protocol violations (#9116) 2019-06-18 10:05:58 +02:00
WebSocketServerProtocolHandler.java Cleanup in websockets, throw exception before allocating response if possible (#9361) 2019-07-16 13:12:17 +02:00
WebSocketServerProtocolHandshakeHandler.java Cleanup in websockets, throw exception before allocating response if possible (#9361) 2019-07-16 13:12:17 +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