• Deucе's avatar
    More closely reproduce select() behaviour when using poll() · b5b02ba5
    Deucе authored
    Specifically, have errors mean the fd is "ready".
    
    Also, fix some extra revent clearing and a spy socket issue while
    we're looking at this code.
    
    Should fix issues with CGI scripts that close stdin/stdout but do
    not terminate, and maybe deal with some other corner cases at the
    same time.
    b5b02ba5
websrvr.c 202 KB