]> granicus.if.org Git - apache/commitdiff
Win32: The async AcceptEx() event should be autoreset upon
authorBill Stoddard <stoddard@apache.org>
Mon, 17 Dec 2001 14:02:59 +0000 (14:02 +0000)
committerBill Stoddard <stoddard@apache.org>
Mon, 17 Dec 2001 14:02:59 +0000 (14:02 +0000)
successful completion of a wait (WaitForSingleObject). This
eliminates a number of spurious
setsockopt(SO_UPDATE_ACCEPT_CONTEXT) failed." messages.

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

CHANGES
server/mpm/winnt/mpm_winnt.c

diff --git a/CHANGES b/CHANGES
index 2cab29bdebb0521b27debf0c4ed86884a413cbef..14bfd40c9bce90b5d08f39910223533883353894 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,4 +1,9 @@
 Changes with Apache 2.0.30-dev
+  *) Win32: The async AcceptEx() event should be autoreset upon
+     successful completion of a wait (WaitForSingleObject). This
+     eliminates a number of spurious
+     setsockopt(SO_UPDATE_ACCEPT_CONTEXT) failed." messages.
+     [Bill Stoddard]
 
   *) Move any load library path environment variables out of 
      apachectl and into a separate environment variable file which
index d3ef6daf26598a19182cc2caccf72e4cf19d0d73..4067d5ba1b590e12e9ad95a44ac59a64bdf1712d 100644 (file)
@@ -168,7 +168,7 @@ AP_DECLARE(PCOMP_CONTEXT) mpm_get_completion_context(void)
         }
         pCompContext = (PCOMP_CONTEXT) apr_pcalloc(pchild, sizeof(COMP_CONTEXT));
 
-        pCompContext->Overlapped.hEvent = CreateEvent(NULL, TRUE, FALSE, NULL); 
+        pCompContext->Overlapped.hEvent = CreateEvent(NULL, FALSE, FALSE, NULL); 
         if (pCompContext->Overlapped.hEvent == NULL) {
             /* Hopefully this is a temporary condition ... */
             ap_log_error(APLOG_MARK,APLOG_WARNING, apr_get_os_error(), ap_server_conf,