More closely reproduce select() behaviour when using poll()
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.
Showing
- src/sbbs3/main.cpp 2 additions, 4 deletionssrc/sbbs3/main.cpp
- src/sbbs3/services.c 1 addition, 1 deletionsrc/sbbs3/services.c
- src/sbbs3/websrvr.c 5 additions, 5 deletionssrc/sbbs3/websrvr.c
- src/sbbs3/xtrn.cpp 2 additions, 3 deletionssrc/sbbs3/xtrn.cpp
- src/xpdev/multisock.c 1 addition, 1 deletionsrc/xpdev/multisock.c
- src/xpdev/sockwrap.c 2 additions, 2 deletionssrc/xpdev/sockwrap.c
Loading
Please register or sign in to comment