mirror of
https://github.com/nginx/nginx.git
synced 2025-06-10 11:38:36 +08:00
Fixed an error log message about epoll_wait() timeout.
The errno value is unset in case of epoll_wait() timeout.
This commit is contained in:
parent
12f4367189
commit
7850609cf9
@ -1000,7 +1000,7 @@ ngx_epoll_module_init(ngx_cycle_t *cycle)
|
|||||||
ngx_use_epoll_rdhup = ee.events & EPOLLRDHUP;
|
ngx_use_epoll_rdhup = ee.events & EPOLLRDHUP;
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
ngx_log_error(NGX_LOG_ALERT, cycle->log, ngx_errno,
|
ngx_log_error(NGX_LOG_ALERT, cycle->log, NGX_ETIMEDOUT,
|
||||||
"epoll_wait() timed out");
|
"epoll_wait() timed out");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user