[Libwebsockets] (no subject)
gauthier.simon at gmail.com
Fri Nov 29 16:20:36 CET 2013
I think the send() call in output.c line 151 should check errno for EAGAIN
and EINTR if it returns -1 since the socket is open NONBLOCK.
It is easy to reproduce if you have some serious traffic going on, send
will sometime return EAGAIN. In that case the library will close the
In that case you can wait a couple of usecond and retry the send until
rescource is availible instead of bailing out.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Libwebsockets