[Libwebsockets] (no subject)
"Andy Green (林安廸)"
andy at warmcat.com
Sun Dec 8 14:39:00 CET 2013
On 29/11/13 23:20, the mail apparently from Simon Gauthier included:
> 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.
I see what you're talking about, however waiting is a problem with a
nonblocking library... during that time nobody is getting serviced.
I'll take a deeper look at it in the next day or two.
> Thank You
> Simon Gauthier
> Libwebsockets mailing list
> Libwebsockets at ml.libwebsockets.org
More information about the Libwebsockets