From: Bill Stoddard Date: Mon, 17 Dec 2001 14:02:59 +0000 (+0000) Subject: Win32: The async AcceptEx() event should be autoreset upon X-Git-Tag: 2.0.30~184 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d7c3b801be40e1b3f9091a118dd180e33b6405e5;p=apache 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. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92500 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/CHANGES b/CHANGES index 2cab29bdeb..14bfd40c9b 100644 --- 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 diff --git a/server/mpm/winnt/mpm_winnt.c b/server/mpm/winnt/mpm_winnt.c index d3ef6daf26..4067d5ba1b 100644 --- a/server/mpm/winnt/mpm_winnt.c +++ b/server/mpm/winnt/mpm_winnt.c @@ -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,