current/doc/source p-config.sgml,2.127,2.128
Fabian Keil via ijbswa-commits <[email protected]> Mon, 26 Jun 2017 12:16:34 +0000
| Newsgroups | gmane.comp.web.privoxy.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/ijbswa/current/doc/source In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv22021/doc/source Modified Files: p-config.sgml Log Message: Document the enable-accept-filter directive Sponsored by: Robert Klemme Index: p-config.sgml =================================================================== RCS file: /cvsroot/ijbswa/current/doc/source/p-config.sgml,v retrieving revision 2.127 retrieving revision 2.128 diff -C2 -d -r2.127 -r2.128 *** p-config.sgml 26 Jun 2017 12:14:38 -0000 2.127 --- p-config.sgml 26 Jun 2017 12:16:32 -0000 2.128 *************** *** 3256,3259 **** --- 3256,3330 ---- + <sect3 renderas="sect4" id="enable-accept-filter"><title>enable-accept-filter</title> + <variablelist> + <varlistentry> + <term>Specifies:</term> + <listitem> + <para> + Whether or not Privoxy should use an accept filter + </para> + </listitem> + </varlistentry> + <varlistentry> + <term>Type of value:</term> + <listitem> + <para> + <replaceable>0 or 1</replaceable> + </para> + </listitem> + </varlistentry> + <varlistentry> + <term>Default value:</term> + <listitem> + <para>0</para> + </listitem> + </varlistentry> + <varlistentry> + <term>Effect if unset:</term> + <listitem> + <para> + No accept filter is enabled. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term>Notes:</term> + <listitem> + <para> + Accept filters reduce the number of context switches by not + passing sockets for new connections to Privoxy until a complete + HTTP request is available. + </para> + <para> + As a result, Privoxy can process the whole request right away + without having to wait for additional data first. + </para> + <para> + For this option to work, Privoxy has to be compiled with + FEATURE_ACCEPT_FILTER and the operating system has to support + it (which may require loading a kernel module). + </para> + <para> + Currently accept filters are only supported on FreeBSD-based + systems. Check the + <ulink url="https://www.freebsd.org/cgi/man.cgi?query=accf_http">accf_http(9) + man page</ulink> + to learn how to enable the support in the operating system. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term>Examples:</term> + <listitem> + <para> + enable-accept-filter 1 + </para> + </listitem> + </varlistentry> + </variablelist> + <![%config-file;[<literallayout>@@#enable-accept-filter 1</literallayout>]]> + </sect3> + + <sect3 renderas="sect4" id="handle-as-empty-doc-returns-ok"><title>handle-as-empty-doc-returns-ok</title> <variablelist> ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot