diff options
-rw-r--r-- | src/nxt_kqueue_engine.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/nxt_kqueue_engine.c b/src/nxt_kqueue_engine.c index 0212b331..9edbc346 100644 --- a/src/nxt_kqueue_engine.c +++ b/src/nxt_kqueue_engine.c @@ -705,7 +705,10 @@ nxt_kqueue_poll(nxt_event_engine_t *engine, nxt_msec_t timeout) nxt_log(&engine->task, level, "kevent(%d) failed %E", engine->u.kqueue.fd, err); - nxt_kqueue_error(engine); + if (err != NXT_EINTR) { + nxt_kqueue_error(engine); + } + return; } |