only drop text and binary message when pressure, control message such as ping pong and close message should not be drop#1876
Conversation
…h as ping pong and close message should not be drop
|
Why would control messages be exempt from backpressure logic? Control messages are not critically important, most of them are simple pings or pongs or close frames. If you've reached the maxBackpressure, that's it. It will drop. |
some ws client use ping pong to keep alive. client send ping, server return pong. |
code in uwebsockets such send ping or send pong or send close, not check the drop status. which will lead to control message lose when backpressure. the pr will fix this and only drop text or binary message when backpressure