https://issues.apache.org/bugzilla/show_bug.cgi?id=54127

          Priority: P2
            Bug ID: 54127
          Assignee: [email protected]
           Summary: WsOutbound is missing a ping method
          Severity: enhancement
    Classification: Unclassified
          Reporter: [email protected]
          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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to