[Libwebsockets] a question about poll timeout change in libwebsockets.

huangkaicheng huangkaicheng at huawei.com
Sat Jun 6 05:43:12 CEST 2020


Hi,
   I have a question, In 2.3version, timeout_ms of poll is setted by lws_service(struct lws_context *context, int timeout_ms)directly as follows;
[cid:image001.png at 01D63BF6.15D236A0]

and In stable 4.0 version, it has changed as follows. What is consideration for the changes of timeout. If timeout_ms is still setted by lws_service(struct lws_context *context, int timeout_ms) in 4.0 stable, it will OK?
we found timeout is up to 1000ms sometimes.
[cid:image002.png at 01D63BF7.38648140]

[cid:image003.png at 01D63BF7.38648140]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://libwebsockets.org/pipermail/libwebsockets/attachments/20200606/a1807c78/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 102469 bytes
Desc: image001.png
URL: <https://libwebsockets.org/pipermail/libwebsockets/attachments/20200606/a1807c78/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.png
Type: image/png
Size: 84039 bytes
Desc: image002.png
URL: <https://libwebsockets.org/pipermail/libwebsockets/attachments/20200606/a1807c78/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.png
Type: image/png
Size: 47334 bytes
Desc: image003.png
URL: <https://libwebsockets.org/pipermail/libwebsockets/attachments/20200606/a1807c78/attachment-0005.png>


More information about the Libwebsockets mailing list