You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by di...@apache.org on 2001/07/13 09:38:02 UTC

cvs commit: httpd-docs-1.3/htdocs/manual/mod core.html.en core.html.fr

dirkx       01/07/13 00:38:00

  Modified:    htdocs/manual server-wide.html.en server-wide.html.fr
                        server-wide.html.ja.jis
               htdocs/manual/misc perf-bsd44.html
               htdocs/manual/mod core.html.en core.html.fr
  Log:
  Scratched an itch; it was just to painfull to move
  binaries around on FreeBSD - due to differences on
  the platform apache was compiled on and it was actually
  ran on. This adds AcceptFilter on/off to make live
  easier. See commit/CHANGES entry in apache-1.3 repo.
  
  I left comments in the French and Japanese text; just
  to help translators. Is that the right procedure ?
  
  Revision  Changes    Path
  1.8       +4 -1      httpd-docs-1.3/htdocs/manual/server-wide.html.en
  
  Index: server-wide.html.en
  ===================================================================
  RCS file: /home/cvs/httpd-docs-1.3/htdocs/manual/server-wide.html.en,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -u -r1.7 -r1.8
  --- server-wide.html.en	2001/01/11 06:20:19	1.7
  +++ server-wide.html.en	2001/07/13 07:37:13	1.8
  @@ -154,6 +154,7 @@
   <a href="mod/core.html#keepalivetimeout">KeepAliveTimeout</a><br>
   <a href="mod/core.html#listen">Listen</a><br>
   <a href="mod/core.html#listenbacklog">ListenBackLog</a><br>
  +<a href="mod/core.html#acceptfilter">AcceptFilter</a><br>
   <a href="mod/core.html#maxkeepaliverequests">MaxKeepAliveRequests</a><br>
   <a href="mod/core.html#port">Port</a><br>
   <a href="mod/core.html#sendbuffersize">SendBufferSize</a><br>
  @@ -177,7 +178,9 @@
   
   <p>The <code>ListenBackLog</code>, <code>SendBufferSize</code>, and
   <code>TimeOut</code> directives are used to adjust how Apache
  -interacts with the network.</p>
  +interacts with the network.<code>AcceptFilter</code> controls
  +a BSD specific filter optimization. See the BSD section on 
  +<a href="misc/perf-bsd44.html">performance hints</a> documentation.</p>
   
   <p>The <code>KeepAlive</code>, <code>KeepAliveTimeout</code>, 
   and <code>MaxKeepAliveRequests</code> directives are used to
  
  
  
  1.3       +9 -1      httpd-docs-1.3/htdocs/manual/server-wide.html.fr
  
  Index: server-wide.html.fr
  ===================================================================
  RCS file: /home/cvs/httpd-docs-1.3/htdocs/manual/server-wide.html.fr,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -u -r1.2 -r1.3
  --- server-wide.html.fr	2001/02/28 10:45:36	1.2
  +++ server-wide.html.fr	2001/07/13 07:37:17	1.3
  @@ -160,6 +160,7 @@
   <a href="mod/core.html#keepalivetimeout">KeepAliveTimeout</a><br>
   <a href="mod/core.html#listen">Listen</a><br>
   <a href="mod/core.html#listenbacklog">ListenBackLog</a><br>
  +<a href="mod/core.html#acceptlog">AcceptLog</a><br>
   <a href="mod/core.html#maxkeepaliverequests">MaxKeepAliveRequests</a><br>
   <a href="mod/core.html#port">Port</a><br>
   <a href="mod/core.html#sendbuffersize">SendBufferSize</a><br>
  @@ -186,7 +187,14 @@
   
   <p>Les directives <code>ListenBackLog</code>, <code>SendBufferSize</code>, and
   <code>TimeOut</code> permettent d'adjuster comment Apache interagit avec
  -le r�seau.</p>
  +le r�seau.  <!-- XXX [code]AcceptFilter[/code] controls
  +a BSD specific filter optimization. See the BSD section on
  +[a href="misc/perf-bsd44.html"]performance hints/a] documentation. -->
  +</p>
  +
  +
  +
  +</p>
   
   <p>Les directives <code>KeepAlive</code>, <code>KeepAliveTimeout</code>, 
   and <code>MaxKeepAliveRequests</code> d�finissent comment
  
  
  
  1.3       +5 -1      httpd-docs-1.3/htdocs/manual/server-wide.html.ja.jis
  
  Index: server-wide.html.ja.jis
  ===================================================================
  RCS file: /home/cvs/httpd-docs-1.3/htdocs/manual/server-wide.html.ja.jis,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -u -r1.2 -r1.3
  --- server-wide.html.ja.jis	2001/01/12 00:46:12	1.2
  +++ server-wide.html.ja.jis	2001/07/13 07:37:21	1.3
  @@ -152,6 +152,7 @@
   <a href="mod/core.html#keepalivetimeout">KeepAliveTimeout</a><br>
   <a href="mod/core.html#listen">Listen</a><br>
   <a href="mod/core.html#listenbacklog">ListenBackLog</a><br>
  +<a href="mod/core.html#acceptfilter">AcceptFilter</a><br>
   <a href="mod/core.html#maxkeepaliverequests">MaxKeepAliveRequests</a><br>
   <a href="mod/core.html#port">Port</a><br>
   <a href="mod/core.html#sendbuffersize">SendBufferSize</a><br>
  @@ -176,7 +177,10 @@
   
   <p><code>ListenBackLog</code> $B%G%#%l%/%F%#%V!"(B<code>SendBufferSize</code>
   $B%G%#%l%/%F%#%V!"(B<code>TimeOut</code> $B%G%#%l%/%F%#%V$O!"(BApache $B$H(B
  -$B%M%C%H%o!<%/$H$N4X78$rD4@0$7$^$9!#(B</p>
  +$B%M%C%H%o!<%/$H$N4X78$rD4@0$7$^$9!#(B <!-- [code]AcceptFilter[/code] controls
  +a BSD specific filter optimization. See the BSD section on
  +[a href="misc/perf-tuning.html"]performance hints[/a] documentation. -->
  +</p>
   
   <p><code>KeepAlive</code> $B%G%#%l%/%F%#%V!"(B<code>KeepAliveTimeout</code>
   $B%G%#%l%/%F%#%V!"(B<code>MaxKeepAliveRequests</code> $B%G%#%l%/%F%#%V$O!"(B
  
  
  
  1.16      +6 -1      httpd-docs-1.3/htdocs/manual/misc/perf-bsd44.html
  
  Index: perf-bsd44.html
  ===================================================================
  RCS file: /home/cvs/httpd-docs-1.3/htdocs/manual/misc/perf-bsd44.html,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -u -r1.15 -r1.16
  --- perf-bsd44.html	2000/12/03 03:28:37	1.15
  +++ perf-bsd44.html	2001/07/13 07:37:35	1.16
  @@ -287,7 +287,12 @@
   e.g. with the command <CODE>kldload accf_data</CODE>,
   or compile a kernel with <CODE>options ACCEPT_FILTER_DATA</CODE>.
   Apache will then enable filtering when it is restarted.
  -
  +<P>
  +Accept filters ar compiled in if the symbol <code>SO_ACCEPTFILTER</code>
  +is defined on the machine apache is build.
  +<p>
  +Additionally there is a directive <a href="../mod/core.html#acceptfilter">AcceptFilter</a> to switch the filters on or off. The default is on; except
  +when apache is compiled with <code>-D AP_ACCEPTFILTER_ON</code>.
   <P>
   
   If you are more concerned about performance than compatibility with
  
  
  
  1.189     +38 -0     httpd-docs-1.3/htdocs/manual/mod/core.html.en
  
  Index: core.html.en
  ===================================================================
  RCS file: /home/cvs/httpd-docs-1.3/htdocs/manual/mod/core.html.en,v
  retrieving revision 1.188
  retrieving revision 1.189
  diff -u -u -r1.188 -r1.189
  --- core.html.en	2001/05/08 11:38:48	1.188
  +++ core.html.en	2001/07/13 07:37:45	1.189
  @@ -21,6 +21,7 @@
   </P>
   <H2>Directives</H2>
   <UL>
  +<LI><A HREF="#acceptfilter">AcceptFilter</A>
   <LI><A HREF="#accessconfig">AccessConfig</A>
   <LI><A HREF="#accessfilename">AccessFileName</A>
   <LI><A HREF="#adddefaultcharset">AddDefaultCharset</A>
  @@ -99,6 +100,43 @@
   <LI><A HREF="#virtualhost">&lt;VirtualHost&gt;</A>
   </UL>
   <HR>
  +
  +<H2><A NAME="acceptfilter">AcceptFilter directive</A></H2>
  +<!--%plaintext &lt;?INDEX {\tt AcceptFilter} directive&gt; -->
  +<A
  + HREF="directive-dict.html#Syntax"
  + REL="Help"
  +><STRONG>Syntax:</STRONG></A> AcceptFilter <EM>on|off</EM><BR>
  +<A
  + HREF="directive-dict.html#Default"
  + REL="Help"
  +><STRONG>Default:</STRONG></A> <CODE>AccceptFilter on</CODE><BR>
  +<A
  + HREF="directive-dict.html#Context"
  + REL="Help"
  +><STRONG>Context:</STRONG></A> server configt<BR>
  +<A
  + HREF="directive-dict.html#Status"
  + REL="Help"
  +><STRONG>Status:</STRONG></A> core<P>
  +
  +<p>
  +<code>AcceptFilter</code> controls a BSD specific filter 
  +optimization. It is compiled in by default - and switched
  +on by default if your system supports it (setsocketopt() option 
  +SO_ACCCEPTFILTER). Currently only FreeBSD supports this.
  +</p>
  +<p>
  +See the filter section on <a href="misc/perf-bsd44.html">performance 
  +hints</a> for more information.
  +</p>
  +<p>
  +The compile time flag <code>AP_ACCEPTFILTER_OFF</code> can be
  +used to change the default to 'off'. <code>httpd -V</code>
  +and <code>httpd -L</code> will show compile time defaults and
  +wether or not SO_ACCEPTFILTER was defined during the compile.
  +</p>
  +
   
   <H2><A NAME="accessconfig">AccessConfig directive</A></H2>
   <!--%plaintext &lt;?INDEX {\tt AccessConfig} directive&gt; -->
  
  
  
  1.2       +3 -0      httpd-docs-1.3/htdocs/manual/mod/core.html.fr
  
  Index: core.html.fr
  ===================================================================
  RCS file: /home/cvs/httpd-docs-1.3/htdocs/manual/mod/core.html.fr,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -u -r1.1 -r1.2
  --- core.html.fr	2001/06/19 03:04:48	1.1
  +++ core.html.fr	2001/07/13 07:37:49	1.2
  @@ -19,6 +19,7 @@
   <h2>Directives</h2>
   
   <ul>
  +<LI><A HREF="#acceptfilter">AcceptFilter</A>
   <li><a href="#accessconfig">AccessConfig</a></li>
   
   <li><a href="#accessfilename">AccessFileName</a></li>
  @@ -175,6 +176,8 @@
   </ul>
   
   <hr>
  +<!-- XXX translate a name="accessconfig" / Directive AccessConfig 
  +  -->
   <h2><a name="accessconfig">Directive AccessConfig</a></h2>
   
   <!--%plaintext &lt;?INDEX {\tt AccessConfig} directive&gt; -->