Welcome! Log In Create A New Profile

Advanced

[nginx] Win32: enabled both select and poll on Windows by default.

Maxim Dounin
January 24, 2019 03:18PM
details: https://hg.nginx.org/nginx/rev/c9235164bbf1
branches:
changeset: 7445:c9235164bbf1
user: Maxim Dounin <mdounin@mdounin.ru>
date: Thu Jan 24 22:00:13 2019 +0300
description:
Win32: enabled both select and poll on Windows by default.

Since we now have both select and poll on Windows, it is enough to
do not set EVENT_FOUND, auto/modules will enable both automatically.

diffstat:

auto/os/win32 | 8 +-------
1 files changed, 1 insertions(+), 7 deletions(-)

diffs (18 lines):

diff --git a/auto/os/win32 b/auto/os/win32
--- a/auto/os/win32
+++ b/auto/os/win32
@@ -32,13 +32,7 @@ case "$NGX_CC_NAME" in
esac

EVENT_MODULES="$EVENT_MODULES $IOCP_MODULE"
-EVENT_FOUND=YES
-
-if [ $EVENT_SELECT = NO ]; then
- have=NGX_HAVE_SELECT . auto/have
- CORE_SRCS="$CORE_SRCS $SELECT_SRCS"
- EVENT_MODULES="$EVENT_MODULES $SELECT_MODULE"
-fi
+#EVENT_FOUND=YES

have=NGX_HAVE_INET6 . auto/have

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

[nginx] Win32: enabled both select and poll on Windows by default.

Maxim Dounin 215 January 24, 2019 03:18PM



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

Online Users

Guests: 261
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