[Libwebsockets] lws_is_first_fragment behavior

prelag at yahoo.com prelag at yahoo.com
Fri Aug 7 17:50:58 CEST 2020

Happy Friday!

In one function, prior to inserting a msg into the ring, I call lws_is_first_fragment in a syslog output and it returns 1.  In the function that inserts the msg into the ring, literally like 4 lines later, lws_is_first_fragment returns 0.  I am not sure what is causing that.  Is there a way to reset that, or what makes it determine is_first_fragment?

Thanks as always.

Paul Roberts

More information about the Libwebsockets mailing list