[Libwebsockets] polling for file descriptor i/o
per at bothner.com
Sun Mar 5 19:04:36 CET 2017
I do notice that poll is being called very frequently via
the top-level lws_service function. This seems to prevent
the server from going to sleep when there is no activity,
which is bad for energy usage.
I tried setting the timeout parameter to -1 in the
lws_service call, but then it just froze.
per at bothner.com http://per.bothner.com/
More information about the Libwebsockets