[Libwebsockets] lwsts: ****** b6813eb8 Sending something else while pending truncated ...
mail17 at mah.priv.at
Thu May 29 14:11:02 CEST 2014
Am 29.05.2014 um 13:52 schrieb satya gowtham kudupudi <andy.green at linaro.org>:
> My websocket server continuously sends incoming photos to all destination clients. After some time or multiple destination clients leads to this error.
> lwsts: ****** b6813eb8 Sending something else while pending truncated ...l
> ibwebsockets/lib/output.c:110: lws_issue_raw: Assertion `0' failed.
> RUN FINISHED; Aborted; core dumped; real time: 21m 40s; user: 3s; system: 8s
> I need help over here to identify the error.
You have a problem with outgoing flow control. Just been there, done that ;)
proper use of lws_send_pipe_choked() and libwebsocket_callback_on_writable() will help you
see also http://ml.libwebsockets.org/pipermail/libwebsockets/2013-March/000393.html
More information about the Libwebsockets