tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 55181] New: Ping and Pong messages should have identical application data
Date Tue, 02 Jul 2013 08:01:55 GMT
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: nickytd@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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message