Description
@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?