[ 
https://issues.apache.org/jira/browse/ARTEMIS-5249?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17915760#comment-17915760
 ] 

ASF subversion and git services commented on ARTEMIS-5249:
----------------------------------------------------------

Commit 7c99a60f885af6cd21e410f44227613cf5e799b5 in activemq-artemis's branch 
refs/heads/main from Justin Bertram
[ https://gitbox.apache.org/repos/asf?p=activemq-artemis.git;h=7c99a60f88 ]

ARTEMIS-5249 support WebSocket pong frames

The broker should simply receive WebSocket pong frames and not respond
according to section 5.5.3 of RFC 6455 (i.e. the WebSocket Protocol
specification).


> Broker chokes on pong WebSocket frames
> --------------------------------------
>
>                 Key: ARTEMIS-5249
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-5249
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>            Reporter: Justin Bertram
>            Assignee: Justin Bertram
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> When a client using the WebSocket protocol sends a pong frame the broker 
> can't handle it. It logs this exception:
> {noformat}
> java.lang.UnsupportedOperationException: 
> io.netty.handler.codec.http.websocketx.PongWebSocketFrame frame types not 
> supported
>       at 
> org.apache.activemq.artemis.core.server.protocol.websocket.WebSocketServerHandler.handleWebSocketFrame(WebSocketServerHandler.java:119)
>       at 
> org.apache.activemq.artemis.core.server.protocol.websocket.WebSocketServerHandler.channelRead0(WebSocketServerHandler.java:70)
>       at 
> org.apache.activemq.artemis.core.server.protocol.websocket.WebSocketServerHandler.channelRead0(WebSocketServerHandler.java:66)
>       ...{noformat}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact


Reply via email to