You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

20 lines
648 B

diff -u -r ../nginx-1.15.3/src/event/modules/ngx_epoll_module.c ./src/event/modules/ngx_epoll_module.c
--- ../nginx-1.15.3/src/event/modules/ngx_epoll_module.c 2018-08-28 15:36:00.000000000 +0000
+++ ./src/event/modules/ngx_epoll_module.c 2018-09-19 21:55:21.381079239 +0000
@@ -591,16 +591,12 @@
if (event == NGX_READ_EVENT) {
e = c->write;
prev = EPOLLOUT;
-#if (NGX_READ_EVENT != EPOLLIN|EPOLLRDHUP)
events = EPOLLIN|EPOLLRDHUP;
-#endif
} else {
e = c->read;
prev = EPOLLIN|EPOLLRDHUP;
-#if (NGX_WRITE_EVENT != EPOLLOUT)
events = EPOLLOUT;
-#endif
}
if (e->active) {