[Libwebsockets] No pong in reply to ping without data

CyB MlS cyb.mls at gmail.com
Wed Feb 12 17:38:32 CET 2014


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 127.0.0.1 --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.

CyB



More information about the Libwebsockets mailing list