netty5/codec-http/src/main/java/io/netty/handler/codec/http/websocketx
James Roper b958263853 Send full response for unsupported websocket versions
Motivation:

WebSocketServerHandshakerFactory.sendUnsupportedVersionResponse does not
send a LastHttpContent, nor does it flush, and it doesn't send a content
length.

Modifications:

Changed sendUnsupportedVersionResponse to send FullHttpResponse, to
writeAndFlush, and to set a content length of 0. Also added a test for
this method.

Result:

Upstream handlers will be able to determine the end of the response, the
response will actually get written to the client, and the client will be
able to determine the end of the response.
2015-07-17 10:56:59 +02:00
..
BinaryWebSocketFrame.java Enable a user specify an arbitrary information with ReferenceCounted.touch() 2014-02-13 18:16:25 -08:00
CloseWebSocketFrame.java Fix NPE problems 2014-07-20 12:55:22 +02:00
ContinuationWebSocketFrame.java Remove ContinuationWebSocketFrame.aggregatedText() 2014-04-30 14:49:17 +02:00
package-info.java Use our own URL shortener wherever possible 2014-07-31 17:06:19 -07:00
PingWebSocketFrame.java Enable a user specify an arbitrary information with ReferenceCounted.touch() 2014-02-13 18:16:25 -08:00
PongWebSocketFrame.java Enable a user specify an arbitrary information with ReferenceCounted.touch() 2014-02-13 18:16:25 -08:00
TextWebSocketFrame.java Enable a user specify an arbitrary information with ReferenceCounted.touch() 2014-02-13 18:16:25 -08:00
Utf8Validator.java ByteString introduced as AsciiString super class 2015-04-14 16:35:17 -07:00
WebSocket07FrameDecoder.java Added an option to use websockets without masking 2014-10-25 22:18:43 +09: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 Added an option to use websockets without masking 2014-10-25 22:18:43 +09:00
WebSocket08FrameEncoder.java Avoid vectored writes for small websocket messages 2014-10-12 20:12:07 +02:00
WebSocket13FrameDecoder.java Added an option to use websockets without masking 2014-10-25 22:18:43 +09:00
WebSocket13FrameEncoder.java Update license headers 2012-06-04 13:31:44 -07:00
WebSocket00FrameDecoder.java Fixed NPE in WebSocket00FrameDecoder if end couldn't be found in text frame 2014-07-16 20:03:57 +02:00
WebSocket00FrameEncoder.java [#2768] Correctly duplicate buffer for CloseWebSocketFrames 2014-08-14 09:54:35 +02:00
WebSocketClientHandshaker.java Allow to use WebSocketClientHandshaker and WebSocketServerHandshaker with HttpResponse / HttpRequest 2015-02-06 10:46:07 +01:00
WebSocketClientHandshaker07.java Fix backward compatibility from the previous backport 2014-11-01 01:00:25 +09:00
WebSocketClientHandshaker08.java Fix backward compatibility from the previous backport 2014-11-01 01:00:25 +09:00
WebSocketClientHandshaker13.java Fix backward compatibility from the previous backport 2014-11-01 01:00:25 +09:00
WebSocketClientHandshaker00.java ByteString introduced as AsciiString super class 2015-04-14 16:35:17 -07:00
WebSocketClientHandshakerFactory.java Added an option to use websockets without masking 2014-10-25 22:18:43 +09:00
WebSocketClientProtocolHandler.java Added an option to use websockets without masking 2014-10-25 22:18:43 +09:00
WebSocketClientProtocolHandshakeHandler.java Fix the leak in the WebSocketClientProtocolHandshakeHandler 2014-10-12 20:26:12 +02:00
WebSocketFrame.java Enable a user specify an arbitrary information with ReferenceCounted.touch() 2014-02-13 18:16:25 -08:00
WebSocketFrameAggregator.java Introduce MessageAggregator and DecoderResultProvider 2014-06-05 16:51:14 +09: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 Allow per-write promises and disallow promises on flush() 2013-07-11 00:49:48 +09:00
WebSocketServerHandshaker.java Allow to use WebSocketClientHandshaker and WebSocketServerHandshaker with HttpResponse / HttpRequest 2015-02-06 10:46:07 +01:00
WebSocketServerHandshaker07.java Fix backward compatibility from the previous backport 2014-11-01 01:00:25 +09:00
WebSocketServerHandshaker08.java Fix backward compatibility from the previous backport 2014-11-01 01:00:25 +09:00
WebSocketServerHandshaker13.java Fix backward compatibility from the previous backport 2014-11-01 01:00:25 +09:00
WebSocketServerHandshaker00.java Fix backward compatibility from the previous backport 2014-11-01 01:00:25 +09:00
WebSocketServerHandshakerFactory.java Send full response for unsupported websocket versions 2015-07-17 10:56:59 +02:00
WebSocketServerProtocolHandler.java Added an option to use websockets without masking 2014-10-25 22:18:43 +09:00
WebSocketServerProtocolHandshakeHandler.java Fix backward compatibility from the previous backport 2014-11-01 01:00:25 +09:00
WebSocketUtil.java [#1579] Fix resource leakage in WebSocketUtil.base64(...) 2013-07-15 19:12:24 +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