From: Marc Slemko Date: Sat, 28 Jun 1997 23:57:54 +0000 (+0000) Subject: Add ListenBacklog directive to control the backlog passed to listen(). X-Git-Tag: dg_last_1_2_doc_merge~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=47db22f099d63a65188df2c2c6305016ae58f5ca;p=thirdparty%2Fapache%2Fhttpd.git Add ListenBacklog directive to control the backlog passed to listen(). Also change the default to 511 for platforms that use an 8-bit datatype to store it. A slightly different implementation than suggested by Taso Devetzis , who submitted the PR. PR: 240 Reviewed by: Dean Gaudet, Jim Jagielski Submitted by: Obtained from: git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@78428 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/mod/core.html b/docs/manual/mod/core.html index 4f0a3033cf6..94d0af23465 100644 --- a/docs/manual/mod/core.html +++ b/docs/manual/mod/core.html @@ -43,6 +43,7 @@ always available.
  • KeepAliveTimeout
  • <Limit>
  • Listen +
  • ListenBacklog
  • <Location>
  • MaxClients
  • MaxKeepAliveRequests @@ -658,6 +659,19 @@ directive.

    Known Bugs


    +ListenBacklog +Syntax: ListenBacklog backlog
    +Default: ListenBacklog 511
    +Context: server config
    +Status: Core
    +Compatibility: ListenBacklog is only available in Apache +versions after 1.2.0.

    + +The maximum length of the queue of pending connections. Generally no +tuning is needed or desired, however on some systems it is desirable +to increase this when under a TCP SYN flood attack. See +the backlog parameter to the listen(2) system call. +

    <Limit> directive

    Syntax: diff --git a/docs/manual/mod/directives.html b/docs/manual/mod/directives.html index 23599099c2b..c912c648c02 100644 --- a/docs/manual/mod/directives.html +++ b/docs/manual/mod/directives.html @@ -103,6 +103,7 @@
  • LanguagePriority
  • <Limit>
  • Listen +
  • ListenBacklog
  • LoadFile
  • LoadModule
  • <Location>