2 <!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd">
3 <?xml-stylesheet type="text/xsl" href="../style/manual.en.xsl"?>
4 <!-- $LastChangedRevision$ -->
7 Copyright 2002-2005 The Apache Software Foundation or its licensors, as
10 Licensed under the Apache License, Version 2.0 (the "License");
11 you may not use this file except in compliance with the License.
12 You may obtain a copy of the License at
14 http://www.apache.org/licenses/LICENSE-2.0
16 Unless required by applicable law or agreed to in writing, software
17 distributed under the License is distributed on an "AS IS" BASIS,
18 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 See the License for the specific language governing permissions and
20 limitations under the License.
23 <modulesynopsis metafile="mpm_winnt.xml.meta">
25 <name>mpm_winnt</name>
26 <description>This Multi-Processing Module is optimized for Windows
29 <sourcefile>mpm_winnt.c</sourcefile>
30 <identifier>mpm_winnt_module</identifier>
33 <p>This Multi-Processing Module (MPM) is the default for the
34 Windows NT operating systems. It uses a single control process
35 which launches a single child process which in turn creates
36 threads to handle requests</p>
39 <directivesynopsis location="mpm_common"><name>CoreDumpDirectory</name>
41 <directivesynopsis location="mpm_common"><name>PidFile</name>
43 <directivesynopsis location="mpm_common"><name>Listen</name>
45 <directivesynopsis location="mpm_common"><name>ListenBacklog</name>
47 <directivesynopsis location="mpm_common"><name>MaxRequestsPerChild</name>
49 <directivesynopsis location="mpm_common"><name>MaxMemFree</name>
51 <directivesynopsis location="mpm_common"><name>ScoreBoardFile</name>
53 <directivesynopsis location="mpm_common"><name>ReceiveBufferSize</name>
55 <directivesynopsis location="mpm_common"><name>SendBufferSize</name>
57 <directivesynopsis location="mpm_common"><name>ThreadLimit</name>
59 <directivesynopsis location="mpm_common"><name>ThreadsPerChild</name>
61 <directivesynopsis location="mpm_common"><name>ThreadStackSize</name>
65 <name>Win32DisableAcceptEx</name>
66 <description>Use accept() rather than AcceptEx() to accept network connections</description>
67 <syntax>Win32DisableAcceptEx</syntax>
68 <default>AcceptEx() is enabled by default. Use this directive to disable use of
70 <contextlist><context>server config</context></contextlist>
71 <compatibility>Available in Version 2.0.49 and later</compatibility>
74 <p><code>AcceptEx()</code> is a Microsoft WinSock v2 API that provides
75 some performance improvements over the use of the BSD style
76 <code>accept()</code> API in certain circumstances. Some popular Windows
77 products, typically virus scanning or virtual private network
78 packages, have bugs that interfere with the proper operation of
79 <code>AcceptEx()</code>. If you encounter an error condition like:</p>
82 [error] (730038)An operation was attempted on something that is
83 not a socket.: winnt_accept: AcceptEx failed. Attempting to recover.
86 <p>you should use this directive to disable the use of
87 <code>AcceptEx()</code>.</p>