mirror of
https://github.com/nginx/nginx.git
synced 2026-11-02 09:00:15 -06:00
Events: support for EPOLLRDHUP (ticket #320).
Since Linux 2.6.17, epoll is able to report about peer half-closed connection using special EPOLLRDHUP flag on a read event.
This commit is contained in:
1 parent
0f0502064d
commit
182a05b9d5
4 files changed
+37
-7
No files matched your search
@@ -42,6 +42,7 @@ fi
|
||||
|
||||
if [ $NGX_TEST_BUILD_EPOLL = YES ]; then
|
||||
have=NGX_HAVE_EPOLL . auto/have
|
||||
have=NGX_HAVE_EPOLLRDHUP . auto/have
|
||||
have=NGX_HAVE_EVENTFD . auto/have
|
||||
have=NGX_TEST_BUILD_EPOLL . auto/have
|
||||
EVENT_MODULES="$EVENT_MODULES $EPOLL_MODULE"
|
||||
|
||||
Reference in new issue
Block a user