clebertsuconic commented on a change in pull request #2888: Enable Continuation
WebSocket Frame support
URL: https://github.com/apache/activemq-artemis/pull/2888#discussion_r344198356
##########
File path:
artemis-server/src/main/java/org/apache/activemq/artemis/core/server/protocol/websocket/WebSocketServerHandler.java
##########
@@ -117,7 +118,8 @@ private boolean handleWebSocketFrame(ChannelHandlerContext
ctx, WebSocketFrame f
} else if (frame instanceof PingWebSocketFrame) {
ctx.writeAndFlush(new PongWebSocketFrame(frame.content().retain()));
return false;
- } else if (!(frame instanceof TextWebSocketFrame) && !(frame instanceof
BinaryWebSocketFrame)) {
+ } else if (!(frame instanceof TextWebSocketFrame) && !(frame instanceof
BinaryWebSocketFrame) &&
Review comment:
small change! zero test on a core hot path functionality!!! Really dangerous
to merge this man!
Can you provide tests for this? or some background on why a test is not
needed? (would this be covered by existing tests? which I don't believe it's
the case).
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services