Welcome! Log In Create A New Profile

Advanced

[nginx] Fixed an error log message about epoll_wait() timeout.

Valentin Bartenev
May 16, 2016 09:24AM
details: http://hg.nginx.org/nginx/rev/3ad1064a3aae
branches:
changeset: 6537:3ad1064a3aae
user: Valentin Bartenev <vbart@nginx.com>
date: Mon May 16 16:22:34 2016 +0300
description:
Fixed an error log message about epoll_wait() timeout.

The errno value is unset in case of epoll_wait() timeout.

diffstat:

src/event/modules/ngx_epoll_module.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)

diffs (14 lines):

diff -r f7849bfb6d21 -r 3ad1064a3aae src/event/modules/ngx_epoll_module.c
--- a/src/event/modules/ngx_epoll_module.c Fri May 13 17:19:23 2016 +0300
+++ b/src/event/modules/ngx_epoll_module.c Mon May 16 16:22:34 2016 +0300
@@ -1000,8 +1000,8 @@ ngx_epoll_module_init(ngx_cycle_t *cycle
ngx_use_epoll_rdhup = ee.events & EPOLLRDHUP;

} else {
- ngx_log_error(NGX_LOG_ALERT, cycle->log, ngx_errno,
- "epoll_wait() timedout");
+ ngx_log_error(NGX_LOG_ALERT, cycle->log, NGX_ETIMEDOUT,
+ "epoll_wait() timed out");
}

ngx_log_error(NGX_LOG_NOTICE, cycle->log, 0,

_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[nginx] Fixed an error log message about epoll_wait() timeout.

Valentin Bartenev 556 May 16, 2016 09:24AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 159
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready