• Deomid Ryabkov's avatar
    Minor fixes to socket support when used with LWIP · 54ebcc5b
    Deomid Ryabkov authored
     - LWIP UDP sockets are always writable and they are not reported as
       such by select() (bug? featuyre?). TCP sockets are ok.
     - Always deliver MG_EV_POLL, whether we have other fd_events or not.
       Otherwise MG_EV_POLL would not be delivered at all to perma-writable
       UDP sockets (as they are on LWIP).
     - Ignore EAGAIN/EWOULDBLOCK errors while connecting, this happens
       during SSL handshake.
    
    PUBLISHED_FROM=3b1ee0d2b0c672512da5c9d6141aba1112983426
    54ebcc5b
Name
Last commit
Last update
docs Loading commit data...
examples Loading commit data...
jni Loading commit data...
tools Loading commit data...
CONTRIBUTING.md Loading commit data...
LICENSE Loading commit data...
README.md Loading commit data...
mongoose.c Loading commit data...
mongoose.h Loading commit data...