• Joel Martin's avatar
    wswrapper: timeout select. · 64dbc6bb
    Joel Martin authored
    The select call needs to timeout if a WebSocket socket keeps reporting
    ready but actually isn't ready. To prevent it hanging forever in that
    condition, the timeout value is now adjusted now for each call.
    
    Move the DO_DEBUG and DO_TRACE settings to wswrapper.c.
    64dbc6bb
wswrapper.h 1.32 KB