tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [Bug 54127] New: WsOutbound is missing a ping method
Date Fri, 09 Nov 2012 20:23:13 GMT

          Priority: P2
            Bug ID: 54127
           Summary: WsOutbound is missing a ping method
          Severity: enhancement
    Classification: Unclassified
          Hardware: PC
            Status: NEW
           Version: 7.0.32
         Component: Catalina
           Product: Tomcat 7

Created attachment 29577
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:
For additional commands, e-mail:

View raw message