Skip to content

Commit cabd07f

Browse files
committed
* Follow up to r1927885: Changelog entry and documentation
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1928022 13f79535-47bb-0310-9956-ffa450edef68 (cherry picked from commit 3690d63)
1 parent 75cddc1 commit cabd07f

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
*) mpm_common: Add new ListenTCPDeferAccept directive that allows to specify
2+
the value set for the TCP_DEFER_ACCEPT socket option on listen sockets.
3+
[Ruediger Pluem]

docs/manual/mod/mpm_common.xml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -363,6 +363,29 @@ in *BSDs.</compatibility>
363363
</usage>
364364
</directivesynopsis>
365365

366+
<directivesynopsis>
367+
<name>ListenTCPDeferAccept</name>
368+
<description>Value set for the socket option TCP_DEFER_ACCEPT if it is set</description>
369+
<syntax>ListenTCPDeferAccept <var>integer</var></syntax>
370+
<default>ListenTCPDeferAccept 30</default>
371+
<contextlist><context>server config</context></contextlist>
372+
<modulelist><module>event</module><module>worker</module>
373+
<module>prefork</module>
374+
</modulelist>
375+
<compatibility>Available in Apache HTTP Server 2.5.1 and later</compatibility>
376+
377+
<usage>
378+
<p>The value specified here is set as a value for the socket option
379+
<code>TCP_DEFER_ACCEPT</code> if it is set on the listen socket.
380+
This happens when running on Linux and <directive
381+
module="core">AcceptFilter</directive> is set to anything besides
382+
<code>none</code>. In any other cases this setting is ignored.
383+
For more details see the Linux
384+
<a href="http://man7.org/linux/man-pages/man7/tcp.7.html">
385+
tcp(7)</a> man page.</p>
386+
</usage>
387+
</directivesynopsis>
388+
366389
<directivesynopsis>
367390
<name>MaxRequestWorkers</name>
368391
<description>Maximum number of connections that will be processed

0 commit comments

Comments
 (0)