summaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
Diffstat (limited to 'server')
-rw-r--r--server/mpm/netware/mpm_netware.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/server/mpm/netware/mpm_netware.c b/server/mpm/netware/mpm_netware.c
index db5cc5d9a6..3353d4c421 100644
--- a/server/mpm/netware/mpm_netware.c
+++ b/server/mpm/netware/mpm_netware.c
@@ -418,8 +418,14 @@ void worker_main(void *arg)
memcpy(&main_fds, &listenfds, sizeof(fd_set));
srv = select(listenmaxfd + 1, &main_fds, NULL, NULL, &tv);
- if (srv <= 0)
+ if (srv <= 0) {
+ if (srv < 0) {
+ ap_log_error(APLOG_MARK, APLOG_NOTICE, apr_get_netos_error(), ap_server_conf,
+ "select() failed on listen socket");
+ apr_thread_yield();
+ }
continue;
+ }
/* remember the last_lr we searched last time around so that
we don't end up starving any particular listening socket */