netty5/codec-http/src/main/java/io/netty/handler/codec
Nick Travers 19d1f4ea62 Propagate pong frames in WebSocketProtocolHandler (#7955)
Motivation:

Currently, on recipt of a PongWebSocketFrame, the
WebSocketProtocolHandler will drop the frame, rather than passing it
along so it can be referenced by other handlers.

Modifications:

Add boolean field to WebSocketProtocolHandler to indicate whether Pong
frames should be dropped or propagated, defaulting to "true" to preserve
existing functionality.

Add new constructors to the client and server implementations of
WebSocketProtocolHandler that allow for overriding the behavior for the
handling of Pong frames.

Result:

PongWebSocketFrames are passed along the channel, if specified.
2018-05-24 20:27:29 +02:00
..
http Propagate pong frames in WebSocketProtocolHandler (#7955) 2018-05-24 20:27:29 +02:00
rtsp Immediate caching the strings wrapped to AsciiString 2017-08-15 06:22:14 +02:00
spdy Revert "Only call ctx.fireChannelReadComplete() if ByteToMessageDecoder decoded at least one message." 2017-08-18 09:06:37 +02:00