https://issues.apache.org/bugzilla/show_bug.cgi?id=55181
            Bug ID: 55181
           Summary: Ping and Pong messages should have identical
                    application data
           Product: Tomcat 8
           Version: trunk
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Catalina
          Assignee: dev@tomcat.apache.org
          Reporter: nick...@gmail.com

Created attachment 30520
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=30520&action=edit
PingPongMessages.patch

As described in RFC 6455 Ping and Pong should have identical application data.
http://tools.ietf.org/html/rfc6455#section-5.5.3

Current implementation can return application data ByteBuffer with extra bytes
hence have different length from "ping" message which means that those are not
identical.
Here is a patch + test case

cheers
niki

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to