8000 websocket PING/PONG from server · Issue #3371 · warmcat/libwebsockets · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
websocket PING/PONG from server #3371
Open
@sushant126

Description

@sushant126

@lws-team I have both a server and a client implemented using libwebsockets. My client receives requests every 5ms, and for every packet received on the client side, the client application sends a response. However, sometimes I notice that the ring buffer becomes full, leaving no space available. This situation persists for 12-13 seconds. During this time, the server sends a WebSocket ping, but the client responds with a masked WebSocket pong only after 12 seconds. As a result, the server closes the connection with the client due to the delayed WebSocket pong.

Does this mean that, due to the ring buffer being full, the client is unable to send the masked WebSocket pong? Is there any way to disable WebSocket pings from the server, as I am already handling ping messages at the application level?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0