RxNettyWebSocketSession creates PONG frame correctly

This commit is contained in:
Rossen Stoyanchev
2016-11-28 16:48:31 -05:00
parent 2e994f7dc3
commit 122334c37a

View File

@@ -127,7 +127,7 @@ public class RxNettyWebSocketSession extends WebSocketSessionSupport<WebSocketCo
else if (WebSocketMessage.Type.PING.equals(message.getType())) {
return new PingWebSocketFrame(byteBuf);
}
else if (WebSocketMessage.Type.BINARY.equals(message.getType())) {
else if (WebSocketMessage.Type.PONG.equals(message.getType())) {
return new PongWebSocketFrame(byteBuf);
}
else {