Browse Source

RxNettyWebSocketSession creates PONG frame correctly

pull/1250/head
Rossen Stoyanchev 8 years ago
parent
commit
122334c37a
  1. 2
      spring-web-reactive/src/main/java/org/springframework/web/reactive/socket/adapter/RxNettyWebSocketSession.java

2
spring-web-reactive/src/main/java/org/springframework/web/reactive/socket/adapter/RxNettyWebSocketSession.java

@ -127,7 +127,7 @@ public class RxNettyWebSocketSession extends WebSocketSessionSupport<WebSocketCo @@ -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 {

Loading…
Cancel
Save