X-Git-Url: http://www.privoxy.org/gitweb/?a=blobdiff_plain;f=doc%2Fsource%2Fp-config.sgml;h=bb831aae7a1c7023df2a7d5cc899beb256a7b350;hb=4ce0ab023d56dc9bc4f1ff161150f9c29002f34a;hp=57ff89899c7cfdf281bf2c72f4c4e07ccd09bdec;hpb=534172d609b8f71e689e509580320dab4c77ff9b;p=privoxy.git diff --git a/doc/source/p-config.sgml b/doc/source/p-config.sgml index 57ff8989..bb831aae 100644 --- a/doc/source/p-config.sgml +++ b/doc/source/p-config.sgml @@ -3,9 +3,9 @@ Purpose : Used with other docs and files only. - $Id: p-config.sgml,v 2.53 2009/06/12 11:53:33 fabiankeil Exp $ + $Id: p-config.sgml,v 2.65 2010/10/30 16:09:31 fabiankeil Exp $ - Copyright (C) 2001-2009 Privoxy Developers http://www.privoxy.org/ + Copyright (C) 2001-2010 Privoxy Developers http://www.privoxy.org/ See LICENSE. ======================================================================== @@ -97,10 +97,10 @@ Sample Configuration File for Privoxy v&p-version; - $Id: p-config.sgml,v 2.53 2009/06/12 11:53:33 fabiankeil Exp $ + $Id: p-config.sgml,v 2.65 2010/10/30 16:09:31 fabiankeil Exp $ -Copyright (C) 2001-2009 Privoxy Developers http://www.privoxy.org/ +Copyright (C) 2001-2010 Privoxy Developers http://www.privoxy.org/ @@ -796,7 +796,7 @@ actionsfile @@filterfile default.filter]]> -@@#filterfile user.filter # User customizations]]> +@@filterfile user.filter # User customizations]]> @@ -1009,7 +1009,7 @@ actionsfile debug 2 # show each connection status debug 4 # show I/O status debug 8 # show header parsing - debug 16 # log all data written to the network into the logfile + debug 16 # log all data written to the network debug 32 # debug force feature debug 64 # debug regular expression filters debug 128 # debug redirects @@ -1019,6 +1019,7 @@ actionsfile debug 2048 # CGI user interface debug 4096 # Startup banner and warnings. debug 8192 # Non-fatal errors + debug 32768 # log all data read from the network @@ -1240,9 +1241,7 @@ actionsfile bind to all IPv4 interfaces (addresses) on your machine and may become reachable from the Internet. In that case, consider using access control lists (ACL's, see below), and/or - a firewall. If the hostname is localhost, Privoxy - will explicitly try to bind to an IPv4 address. For other hostnames it depends - on the operating system which IP version will be used. + a firewall. If you open Privoxy to untrusted users, you will @@ -1712,8 +1711,8 @@ ACLs: permit-access and deny-access IP addresses, only the first one is used. - Some systems allows IPv4 client to connect to IPv6 server socket. - Then the client's IPv4 address will be translated by system into + Some systems allow IPv4 clients to connect to IPv6 server sockets. + Then the client's IPv4 address will be translated by the system into IPv6 address space with special prefix ::ffff:0:0/96 (so called IPv4 mapped IPv6 address). Privoxy can handle it and maps such ACL addresses automatically. @@ -2279,6 +2278,10 @@ forward-socks4, forward-socks4a and forward-socks5 that go away when you try again manually. Start with a small value and check Privoxy's logfile from time to time, to see how many retries are usually needed. + + Due to a bug, this option currently also causes Privoxy to + retry in case of certain problems with direct connections. + @@ -2538,6 +2541,23 @@ forward-socks4, forward-socks4a and forward-socks5 This option has no effect if Privoxy has been compiled without keep-alive support. + + Note that a timeout of five seconds as used in the default + configuration file significantly decreases the number of + connections that will be reused. The value is used because + some browsers limit the number of connections they open to + a single host and apply the same limit to proxies. This can + result in a single website grabbing all the + connections the browser allows, which means connections to + other websites can't be opened until the connections currently + in use time out. + + + Several users have reported this as a Privoxy bug, so the + default value has been reduced. Consider increasing it to + 300 seconds or even more if you think your browser can handle + it. If your browser appears to be hanging it can't. + @@ -2549,7 +2569,7 @@ forward-socks4, forward-socks4a and forward-socks5 -@@keep-alive-timeout 300]]> +@@keep-alive-timeout 5]]> @@ -2870,6 +2890,67 @@ forward-socks4, forward-socks4a and forward-socks5 +handle-as-empty-doc-returns-ok + + + Note: + + + This is a work-around for Firefox bug 492459: + + Websites are no longer rendered if SSL requests for JavaScripts are blocked by a proxy. + + (https://bugzilla.mozilla.org/show_bug.cgi?id=492459) + + + + + Specifies: + + + The status code Privoxy returns for pages blocked with + + +handle-as-empty-document. + + + + + Type of value: + + + 0 or 1 + + + + + Default value: + + 0 + + + + Effect if unset: + + + Privoxy returns a status 403(forbidden) for all blocked pages. + + + + + Effect if set: + + + Privoxy returns a status 200(OK) for pages blocked with +handle-as-empty-document + and a status 403(Forbidden) for all other blocked pages. + + + + +@@handle-as-empty-doc-returns-ok 1]]> + + +