[Libwebsockets] No pong in reply to ping without data

"Andy Green (林安廸)" andy at warmcat.com
Sat Feb 15 09:03:07 CET 2014

On 13/02/14 00:38, the mail apparently from CyB MlS included:
> Hi,
> I have discovered thant the server does not reply to ping if data length
> is zero. I hava the same behavior with the latest commits.
> With wireshark, i see just the tcp ack but no pong reply.
> It can be reproduce with the supplied example :
> libwebsockets-test-server --port=7681
> libwebsockets-test-ping --port=7681 --size=0
> If the size parameter is not 0, it work.
> I take a look to the source, but nothing obvious for me.

That was actually a pretty nasty issue, thanks for raising it.



> CyB
> _______________________________________________
> Libwebsockets mailing list
> Libwebsockets at ml.libwebsockets.org
> http://ml.libwebsockets.org/mailman/listinfo/libwebsockets

More information about the Libwebsockets mailing list