]> granicus.if.org Git - apache/commitdiff
Win32: Simplify. Issue message if the Win32DisableAcceptEx directive toggles the...
authorBill Stoddard <stoddard@apache.org>
Fri, 9 Jan 2004 20:41:06 +0000 (20:41 +0000)
committerBill Stoddard <stoddard@apache.org>
Fri, 9 Jan 2004 20:41:06 +0000 (20:41 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102246 13f79535-47bb-0310-9956-ffa450edef68

server/mpm/winnt/mpm_winnt.c

index cff1d677d823e88e825f6e12d0f1810da85261ee..4a64dfa5a074157788ccf23e149dd04560500635 100644 (file)
@@ -225,17 +225,11 @@ static const char *set_disable_acceptex(cmd_parms *cmd, void *dummy, char *arg)
     if (err != NULL) {
         return err;
     }
-    if (osver.dwPlatformId == VER_PLATFORM_WIN32_WINDOWS) {
-        ap_log_error(APLOG_MARK, APLOG_STARTUP, 0, NULL, 
-                     "Ignoring Win32EnableAcceptEx configuration directive. "
-                     "The directive is not valid on Windows 9x");
-        return NULL;
+    if (use_acceptex) {
+        use_acceptex = 0;
+        ap_log_error(APLOG_MARK, APLOG_NOTICE, 0, NULL, 
+                     "Disabled use of AcceptEx() WinSock2 API");
     }
-
-    use_acceptex = 0;
-
-    ap_log_error(APLOG_MARK, APLOG_STARTUP, 0, NULL, 
-                         "Disabled use AcceptEx WinSock2 API");
     return NULL;
 }