7c5a3c5898
…ryWebSocketFrames Motivation: `Utf8FrameValidator` is always created and added to the pipeline in `WebSocketServerProtocolHandler.handlerAdded` method. However, for websocket connection with only `BinaryWebSocketFrame`'s UTF8 validator is unnecessary overhead. Adding of `Utf8FrameValidator` could be easily avoided by extending of `WebSocketDecoderConfig` with additional property. Specification requires UTF-8 validation only for `TextWebSocketFrame`. Modification: Added `boolean WebSocketDecoderConfig.withUTF8Validator` that allows to avoid adding of `Utf8FrameValidator` during pipeline initialization. Result: Less overhead when using only `BinaryWebSocketFrame`within web socket. |
||
---|---|---|
.. | ||
src | ||
pom.xml |