tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 54127] New: WsOutbound is missing a ping method
Date Fri, 09 Nov 2012 20:23:13 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=54127

          Priority: P2
            Bug ID: 54127
          Assignee: dev@tomcat.apache.org
           Summary: WsOutbound is missing a ping method
          Severity: enhancement
    Classification: Unclassified
          Reporter: sean.winterberger@gmail.com
          Hardware: PC
            Status: NEW
           Version: 7.0.32
         Component: Catalina
           Product: Tomcat 7

Created attachment 29577
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=29577&action=edit
patch which adds ping functionality to WsOutbound

WsOutbound currently lacks the ability to send a ping request to the client.

Attached patch creates a new method pong which takes in a ByteBuffer and passes
the ping byte (0x09) to sendControlMessage which sets the opcode byte on the
frame.  Refactored pong method to all call sendControlMessage as opposed to
duplicate code. 

Added websocket.Constants import for OPCODE_PING/PONG.

-- 
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