• 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
mongoose.c 440 KB