]> granicus.if.org Git - apache/commitdiff
disable the use of acceptex on Win9x systems automatically
authorAndré Malo <nd@apache.org>
Sat, 24 Apr 2004 11:23:14 +0000 (11:23 +0000)
committerAndré Malo <nd@apache.org>
Sat, 24 Apr 2004 11:23:14 +0000 (11:23 +0000)
PR: 28529

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@103492 13f79535-47bb-0310-9956-ffa450edef68

CHANGES
server/mpm/winnt/mpm_winnt.c

diff --git a/CHANGES b/CHANGES
index af25689ae6da5cbd4005536da68c4c01d70e6bf7..8a1ba1f4ff9819e5e1cfda37b04381d1a2f7e944 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -2,6 +2,9 @@ Changes with Apache 2.1.0-dev
 
   [Remove entries to the current 2.0 section below, when backported]
 
+  *) Restore the ability to disable the use of AcceptEx on Win9x systems
+     automatically. PR 28529.  [André Malo]
+
   *) ap_set_sub_req_protocol and ap_finalize_sub_req_protocol are now
      exported on Win32 as well.  PR 28523.
      [Edward Rudd <eddie omegaware.com>, André Malo]
index 578c88fa7dd93ba888669051414a50f290675f74..7dd58c444e0d3e505158e8e7e84257d57d12a962 100644 (file)
@@ -1364,6 +1364,11 @@ static int winnt_pre_config(apr_pool_t *pconf_, apr_pool_t *plog, apr_pool_t *pt
         exit(APEXIT_INIT);
     }
 
+    /* Win9x: disable AcceptEx */
+    if (osver.dwPlatformId == VER_PLATFORM_WIN32_WINDOWS) {
+        use_acceptex = 0;
+    }
+
     ap_listen_pre_config();
     ap_threads_per_child = DEFAULT_THREADS_PER_CHILD;
     ap_pid_fname = DEFAULT_PIDLOG;