From: Fabian Keil Date: Mon, 26 Jun 2017 12:16:32 +0000 (+0000) Subject: Document the enable-accept-filter directive X-Git-Tag: v_3_0_27~107 X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=commitdiff_plain;h=65e01393b77af2ab94844cb13efb3d5e321f1254 Document the enable-accept-filter directive Sponsored by: Robert Klemme --- diff --git a/doc/source/p-config.sgml b/doc/source/p-config.sgml index 978f93e7..d509c42f 100644 --- a/doc/source/p-config.sgml +++ b/doc/source/p-config.sgml @@ -3,7 +3,7 @@ Purpose : Used with other docs and files only. - $Id: p-config.sgml,v 2.126 2017/05/29 10:02:37 fabiankeil Exp $ + $Id: p-config.sgml,v 2.127 2017/06/26 12:14:38 fabiankeil Exp $ Copyright (C) 2001-2017 Privoxy Developers https://www.privoxy.org/ See LICENSE. @@ -97,7 +97,7 @@ Sample Configuration File for Privoxy &p-version; - $Id: p-config.sgml,v 2.126 2017/05/29 10:02:37 fabiankeil Exp $ + $Id: p-config.sgml,v 2.127 2017/06/26 12:14:38 fabiankeil Exp $ Copyright (C) 2001-2017 Privoxy Developers https://www.privoxy.org/ @@ -3255,6 +3255,77 @@ forward-socks4, forward-socks4a, forward-socks5 and forward-socks5t +enable-accept-filter + + + Specifies: + + + Whether or not Privoxy should use an accept filter + + + + + Type of value: + + + 0 or 1 + + + + + Default value: + + 0 + + + + Effect if unset: + + + No accept filter is enabled. + + + + + Notes: + + + Accept filters reduce the number of context switches by not + passing sockets for new connections to Privoxy until a complete + HTTP request is available. + + + As a result, Privoxy can process the whole request right away + without having to wait for additional data first. + + + 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). + + + Currently accept filters are only supported on FreeBSD-based + systems. Check the + accf_http(9) + man page + to learn how to enable the support in the operating system. + + + + + Examples: + + + enable-accept-filter 1 + + + + +@@#enable-accept-filter 1]]> + + + handle-as-empty-doc-returns-ok