[Libwebsockets] assert in client connection

Vijay Khurdiya vijay.khurdiya at gmail.com
Wed Aug 16 18:42:44 CEST 2017


Hi,



I am getting one assert when my client trying to connect with server. Could
you please give me hint what was wrong which cause assert.

Please find below snapshot of lws log.



[2017/08/14 17:58:41:0070] NOTICE: wsi 0x5aaae0: TIMEDOUT WAITING on 25
(did hdr 0, ah 0x5cb540, wl 0, pfd events 0) 1502713721 vs 1502713720

[2017/08/14 17:58:41:0075] NOTICE: lws_header_table_detach: wsi 0x5aaae0:
ah held 11s, ah.rxpos -1, ah.rxlen -1, mode/state 32 4,wsi->more_rx_waiting
0

[2017/08/14 17:58:50:5725] ERR: getaddrinfo failed

[2017/08/14 17:58:50:5729] NOTICE: lws_header_table_detach: wsi 0x5aaae0:
ah held 1502713596s, ah.rxpos -1, ah.rxlen -1, mode/state 32
4,wsi->more_rx_waiting 0

/libwebsockets/2.0.3-r0/git/lib/parsers.c:313: lws_header_table_detach:
Assertion `pt->ah_count_in_use > 0' failed.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://libwebsockets.org/pipermail/libwebsockets/attachments/20170816/49da923d/attachment.html>


More information about the Libwebsockets mailing list