privoxy.git
14 years agoBump copyright range as p-config.sgml's copyright line is only used in the config...
Fabian Keil [Mon, 11 Jan 2010 12:56:04 +0000 (12:56 +0000)]
Bump copyright range as p-config.sgml's copyright line is only used in the config file.

14 years agoBump copyright range.
Fabian Keil [Mon, 11 Jan 2010 12:52:39 +0000 (12:52 +0000)]
Bump copyright range.

14 years agoRegenerated with handle-as-empty-doc-returns-ok description.
Fabian Keil [Mon, 11 Jan 2010 12:43:49 +0000 (12:43 +0000)]
Regenerated with handle-as-empty-doc-returns-ok description.

14 years agoPet openjade.
Fabian Keil [Mon, 11 Jan 2010 12:40:23 +0000 (12:40 +0000)]
Pet openjade.

14 years agoPerldoc spelling fix.
Fabian Keil [Mon, 11 Jan 2010 11:48:48 +0000 (11:48 +0000)]
Perldoc spelling fix.

14 years agoCosmetics.
Fabian Keil [Mon, 11 Jan 2010 11:48:23 +0000 (11:48 +0000)]
Cosmetics.

14 years agoRemove unused variable $c in stats_loop().
Fabian Keil [Mon, 11 Jan 2010 11:47:59 +0000 (11:47 +0000)]
Remove unused variable $c in stats_loop().

14 years agoBump BROWSER_FOO variables for Firefox 3.5.7.
Fabian Keil [Mon, 11 Jan 2010 11:47:27 +0000 (11:47 +0000)]
Bump BROWSER_FOO variables for Firefox 3.5.7.

14 years agoFor LOG_UNPARSED_LINES_TO_EXTRA_FILE to work, ERROR_LOG_FILE has to be defined.
Fabian Keil [Mon, 11 Jan 2010 11:46:46 +0000 (11:46 +0000)]
For LOG_UNPARSED_LINES_TO_EXTRA_FILE to work, ERROR_LOG_FILE has to be defined.

On the other hand CLI_OPTION_ERROR_LOG_FILE is unused and can be removed.

14 years agoUpdate license URL in win32_blurb[] and bump copyright range.
Fabian Keil [Mon, 11 Jan 2010 11:41:07 +0000 (11:41 +0000)]
Update license URL in win32_blurb[] and bump copyright range.

14 years agoWorkaround for firefox hanging on blocked javascript pages
Lee [Sun, 10 Jan 2010 13:53:49 +0000 (13:53 +0000)]
Workaround for firefox hanging on blocked javascript pages

14 years agoFix two highlighting patterns that were too aggressive.
Fabian Keil [Tue, 5 Jan 2010 23:36:43 +0000 (23:36 +0000)]
Fix two highlighting patterns that were too aggressive.

14 years agoBump version to 0.4.
Fabian Keil [Sun, 3 Jan 2010 13:49:01 +0000 (13:49 +0000)]
Bump version to 0.4.

14 years agoBump version to 0.6.
Fabian Keil [Sun, 3 Jan 2010 13:48:44 +0000 (13:48 +0000)]
Bump version to 0.6.

14 years agoRename no_daemon to daemon_mode to ditch the double negatives in if conditions.
Fabian Keil [Sun, 3 Jan 2010 12:37:14 +0000 (12:37 +0000)]
Rename no_daemon to daemon_mode to ditch the double negatives in if conditions.

14 years agoIn handle_loglevel_header(), deal with "scan:" messages more efficiently.
Fabian Keil [Thu, 31 Dec 2009 11:56:02 +0000 (11:56 +0000)]
In handle_loglevel_header(), deal with "scan:" messages more efficiently.

14 years agoIn handle_loglevel_header(), consistently use $c and remove $content.
Fabian Keil [Thu, 31 Dec 2009 11:55:27 +0000 (11:55 +0000)]
In handle_loglevel_header(), consistently use $c and remove $content.

14 years agoRemove trailing white-space.
Fabian Keil [Thu, 31 Dec 2009 11:54:55 +0000 (11:54 +0000)]
Remove trailing white-space.

14 years agoIn parse_loop(), check for truncated lines more efficiently.
Fabian Keil [Wed, 30 Dec 2009 15:15:56 +0000 (15:15 +0000)]
In parse_loop(), check for truncated lines more efficiently.

14 years agoRemove pointless micro-optimizations in prepare_highlight_hash() and prepare_colour_a...
Fabian Keil [Wed, 30 Dec 2009 14:24:17 +0000 (14:24 +0000)]
Remove pointless micro-optimizations in prepare_highlight_hash() and prepare_colour_array().

14 years agoStreamline print_non_clf_message() a bit more.
Fabian Keil [Wed, 30 Dec 2009 14:08:59 +0000 (14:08 +0000)]
Streamline print_non_clf_message() a bit more.

Turns out most of the checks weren't necessary.

14 years agoUnbreak print_non_clf_message() when generating HTML.
Fabian Keil [Wed, 30 Dec 2009 13:33:47 +0000 (13:33 +0000)]
Unbreak print_non_clf_message() when generating HTML.

14 years agoRefactor get_line_end() so it doesn't shadow $line_end.
Fabian Keil [Wed, 30 Dec 2009 11:44:14 +0000 (11:44 +0000)]
Refactor get_line_end() so it doesn't shadow $line_end.

14 years agoVarious optimizations to get the real time down by about 25%. Your mileage may vary.
Fabian Keil [Wed, 30 Dec 2009 11:14:30 +0000 (11:14 +0000)]
Various optimizations to get the real time down by about 25%. Your mileage may vary.

NYTProf ftw.

14 years agoForced commit to note that by rev 0.99 I meant rev 1.308.
Fabian Keil [Tue, 29 Dec 2009 13:17:37 +0000 (13:17 +0000)]
Forced commit to note that by rev 0.99 I meant rev 1.308.

14 years agoRevert a last-minute 'optimization' in rev 1.99 that could cause fd 1 and 2 being...
Fabian Keil [Tue, 29 Dec 2009 13:15:24 +0000 (13:15 +0000)]
Revert a last-minute 'optimization' in rev 1.99 that could cause fd 1 and 2 being bound to logfp.

Yay for procstat(1).

14 years agoWhen in daemon mode, bind fd 0, 1 and 2 to /dev/null.
Fabian Keil [Sat, 26 Dec 2009 11:34:01 +0000 (11:34 +0000)]
When in daemon mode, bind fd 0, 1 and 2 to /dev/null.

14 years agoDitch some dead code in main().
Fabian Keil [Sat, 26 Dec 2009 11:32:54 +0000 (11:32 +0000)]
Ditch some dead code in main().

14 years agoRemove trailing white-space.
Fabian Keil [Sat, 26 Dec 2009 11:32:12 +0000 (11:32 +0000)]
Remove trailing white-space.

14 years agoLet server_set_cookie() accept quoted expiration dates.
Fabian Keil [Fri, 25 Dec 2009 11:39:26 +0000 (11:39 +0000)]
Let server_set_cookie() accept quoted expiration dates.

The way I interpret RFC 2109 10.1.2, server's aren't
actually supposed to quote the expiration date,
but some do it anyway.

Fixes #2920829, reported anonymously.

14 years agoAdd uagen, a Firefox User-Agent generator for Privoxy and Mozilla browsers.
Fabian Keil [Thu, 24 Dec 2009 12:57:34 +0000 (12:57 +0000)]
Add uagen, a Firefox User-Agent generator for Privoxy and Mozilla browsers.

Hohoho.

14 years agoDeal with serve()'s recently changed log messages.
Fabian Keil [Tue, 22 Dec 2009 13:05:21 +0000 (13:05 +0000)]
Deal with serve()'s recently changed log messages.

14 years agoIn serve()'s log messages, mention the client socket, too.
Fabian Keil [Tue, 22 Dec 2009 13:04:10 +0000 (13:04 +0000)]
In serve()'s log messages, mention the client socket, too.

14 years agoIn serve(), don't call forget_connection() if connection sharing is disabled.
Fabian Keil [Tue, 22 Dec 2009 13:03:30 +0000 (13:03 +0000)]
In serve(), don't call forget_connection() if connection sharing is disabled.

14 years agoShow FEATURE_ACCEPT_FITLER on the show-status page.
Fabian Keil [Wed, 16 Dec 2009 08:36:39 +0000 (08:36 +0000)]
Show FEATURE_ACCEPT_FITLER on the show-status page.

14 years agoAdd optional support for FreeBSD's accf_http(9).
Fabian Keil [Wed, 16 Dec 2009 08:35:47 +0000 (08:35 +0000)]
Add optional support for FreeBSD's accf_http(9).

14 years agoAdd Jeff H. who contributed fancier win32 icons.
Fabian Keil [Wed, 16 Dec 2009 08:28:11 +0000 (08:28 +0000)]
Add Jeff H. who contributed fancier win32 icons.

14 years agoStart using the fancier radar icons.
Fabian Keil [Wed, 16 Dec 2009 08:15:42 +0000 (08:15 +0000)]
Start using the fancier radar icons.

14 years agoStart using the fancier radar icons.
Fabian Keil [Wed, 16 Dec 2009 08:08:38 +0000 (08:08 +0000)]
Start using the fancier radar icons.

14 years agoAdd fancier Privoxy icons for win32.
Fabian Keil [Wed, 16 Dec 2009 08:05:55 +0000 (08:05 +0000)]
Add fancier Privoxy icons for win32.

Contributed by Jeff H.

14 years agoFinish the last commit and remove the miscutil.h inclusion. Ladida, ladida.
Fabian Keil [Tue, 15 Dec 2009 17:51:14 +0000 (17:51 +0000)]
Finish the last commit and remove the miscutil.h inclusion. Ladida, ladida.

14 years agoLocalhost is no longer treated more equal than listening addresses, update documentat...
Fabian Keil [Tue, 15 Dec 2009 17:43:41 +0000 (17:43 +0000)]
Localhost is no longer treated more equal than listening addresses, update documentation accordingly.

14 years agoIn bind_port(), let getaddrinfo() resolve localhost using whatever address family...
Fabian Keil [Tue, 15 Dec 2009 17:41:36 +0000 (17:41 +0000)]
In bind_port(), let getaddrinfo() resolve localhost using whatever address family it feels like.

As Roland pointed out on privoxy-devel, explicitly asking
for AF_INET doesn't work reliably on GNU/Linux:
Message-ID: <20091213201632.GA3217@dinghy.sail.spinnaker.de>
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=534735
https://bugs.launchpad.net/ubuntu/+source/privoxy/+bug/427625

14 years agoHighlight: pcrs command "s@^http://([^.]+?)/?$@http://www.bing.com/search?q=$1@"...
Fabian Keil [Sat, 12 Dec 2009 11:31:17 +0000 (11:31 +0000)]
Highlight: pcrs command "s@^([^.]+?)/?$@http://bing.com/search?q=$1@" didn't change "http://www.example.org/".

Also remove some unused variables.

14 years agoAdd default-server-timeout section.
Fabian Keil [Sun, 29 Nov 2009 15:04:51 +0000 (15:04 +0000)]
Add default-server-timeout section.

14 years agoAdded default-server-timeout description.
Fabian Keil [Sun, 29 Nov 2009 15:04:08 +0000 (15:04 +0000)]
Added default-server-timeout description.

14 years agoDocument the default-server-timeout config option.
Fabian Keil [Fri, 27 Nov 2009 13:47:34 +0000 (13:47 +0000)]
Document the default-server-timeout config option.

14 years agoAdd the config option default-server-timeout to control the assumed default server...
Fabian Keil [Fri, 27 Nov 2009 13:46:47 +0000 (13:46 +0000)]
Add the config option default-server-timeout to control the assumed default server timeout.

Since Privoxy no longer returns an error message for connection
resets on reused client connections, assuming larger server timeout
values appears to actually work pretty well as long as connections
aren't shared.

14 years agoRebuilt for 3.0.16 UNRELEASED.
Fabian Keil [Sun, 15 Nov 2009 14:26:02 +0000 (14:26 +0000)]
Rebuilt for 3.0.16 UNRELEASED.

14 years agoPrepare to generate docs for 3.0.16 UNRELEASED.
Fabian Keil [Sun, 15 Nov 2009 14:24:12 +0000 (14:24 +0000)]
Prepare to generate docs for 3.0.16 UNRELEASED.

14 years agoDescribe how to get a meaningful logfile.
Fabian Keil [Sun, 15 Nov 2009 14:22:41 +0000 (14:22 +0000)]
Describe how to get a meaningful logfile.

14 years agoExit in case of unrecognized parameters.
Fabian Keil [Tue, 10 Nov 2009 16:21:06 +0000 (16:21 +0000)]
Exit in case of unrecognized parameters.

14 years agoProperly highlight: Empty server or forwarder response received on socket 3. Closing...
Fabian Keil [Tue, 10 Nov 2009 16:19:38 +0000 (16:19 +0000)]
Properly highlight: Empty server or forwarder response received on socket 3. Closing client socket 15 without sending data.

15 years agoHilight a few more log messages in the Windows log viewer.
Lee [Sun, 8 Nov 2009 18:09:52 +0000 (18:09 +0000)]
Hilight a few more log messages in the Windows log viewer.

15 years agoAdd comments for (relatively) new features bitmasks.
Lee [Sun, 8 Nov 2009 17:54:09 +0000 (17:54 +0000)]
Add comments for (relatively) new features bitmasks.

15 years agoAdd a more verbose description for the --enable-extended-host-patterns option.
Fabian Keil [Sat, 7 Nov 2009 13:44:43 +0000 (13:44 +0000)]
Add a more verbose description for the --enable-extended-host-patterns option.

As #2892308 shows, the old one wasn't particularly helpful.

15 years agoUnblock .facebook.com/.*/track.php.
Fabian Keil [Sat, 31 Oct 2009 14:46:59 +0000 (14:46 +0000)]
Unblock .facebook.com/.*/track.php.

Reported by David Bonde in #2836348.

15 years agoAccept: keep-alive support is disabled. Crunching: Keep-Alive: 300.
Fabian Keil [Sat, 31 Oct 2009 10:14:07 +0000 (10:14 +0000)]
Accept: keep-alive support is disabled. Crunching: Keep-Alive: 300.

15 years agoFix an error message in send_crunch_response().
Fabian Keil [Thu, 29 Oct 2009 16:55:29 +0000 (16:55 +0000)]
Fix an error message in send_crunch_response().

Don't pretend we failed to write to the server
when we actually failed to write to the client.

Also log the crunch reason before trying to write
to the client. The log is easier to read that way.

15 years agoIn the action lists on CGI pages, don't separate actions and their parameters with...
Fabian Keil [Thu, 29 Oct 2009 16:53:56 +0000 (16:53 +0000)]
In the action lists on CGI pages, don't separate actions and their parameters with a space.

The action file parser doesn't actually allow this and will
throw an invalid syntax error if actions and parameters in
the action files are separated. Not adding the spaces means
copy and pasting CGI output into the action files works.

15 years agoMake it work with my next Privoxy commit.
Fabian Keil [Thu, 29 Oct 2009 16:50:32 +0000 (16:50 +0000)]
Make it work with my next Privoxy commit.

Currently Privoxy's CGI pages add a space between
action names and parameters, but as far as Privoxy's
action file parser is concerned, that's invalid syntax.

I'm going to fix this and afterwards Privoxy-Regression-Test
has to work with and without the spaces.

15 years agoStore the test executors in the test hash and execute them directly instead of throug...
Fabian Keil [Thu, 29 Oct 2009 16:46:42 +0000 (16:46 +0000)]
Store the test executors in the test hash and execute them directly instead of through execute_regression_test().

Ditch execute_regression_test() as it's now obsolete.

15 years agohandle-as-empty-document shouldn't be dependent on the image blocking
Lee [Sun, 25 Oct 2009 15:23:40 +0000 (15:23 +0000)]
handle-as-empty-document shouldn't be dependent on the image blocking
feature being enabled.

15 years agoAdd Havard Berland who reported that the website of the Norwegian newspaper 'Adressea...
Fabian Keil [Sat, 24 Oct 2009 12:28:02 +0000 (12:28 +0000)]
Add Havard Berland who reported that the website of the Norwegian newspaper 'Adresseavisen' should be white-listed. #2884563.

15 years agoUnblock URLs for the norwegian newspaper 'Adresseavisen'.
Fabian Keil [Sat, 24 Oct 2009 12:26:57 +0000 (12:26 +0000)]
Unblock URLs for the norwegian newspaper 'Adresseavisen'.

Reported by Havard Berland in #2884563.

15 years agoBump version to 3.0.16 UNRELEASED.
Fabian Keil [Sat, 24 Oct 2009 11:11:33 +0000 (11:11 +0000)]
Bump version to 3.0.16 UNRELEASED.

15 years agoUpdate whatsnew URL for 3.0.15. Better late than never ...
Fabian Keil [Sat, 10 Oct 2009 19:48:39 +0000 (19:48 +0000)]
Update whatsnew URL for 3.0.15. Better late than never ...

15 years agoFor one reason or another, the mighty docbook mess decided that upgradersnote.html...
Fabian Keil [Sat, 10 Oct 2009 14:28:40 +0000 (14:28 +0000)]
For one reason or another, the mighty docbook mess decided that upgradersnote.html had to go ...

15 years agoApparently this file has been merged into whatsnew.html.
Fabian Keil [Sat, 10 Oct 2009 06:53:10 +0000 (06:53 +0000)]
Apparently this file has been merged into whatsnew.html.

15 years agoDitch a duplicated 'since'.
Fabian Keil [Sat, 10 Oct 2009 06:19:34 +0000 (06:19 +0000)]
Ditch a duplicated 'since'.

15 years agoPrepare for 3.0.15 beta.
Fabian Keil [Sat, 10 Oct 2009 06:07:40 +0000 (06:07 +0000)]
Prepare for 3.0.15 beta.

15 years agoApparently this file has been merged with introduction.html.
Fabian Keil [Sat, 10 Oct 2009 06:06:23 +0000 (06:06 +0000)]
Apparently this file has been merged with introduction.html.

15 years agoRegenerated docs for 3.0.15.
Fabian Keil [Sat, 10 Oct 2009 06:01:52 +0000 (06:01 +0000)]
Regenerated docs for 3.0.15.

15 years agoBump version number to 3.0.15.
Fabian Keil [Sat, 10 Oct 2009 05:56:41 +0000 (05:56 +0000)]
Bump version number to 3.0.15.

15 years agoRebuild with recent changes.
Fabian Keil [Sat, 10 Oct 2009 05:56:10 +0000 (05:56 +0000)]
Rebuild with recent changes.

15 years agoMention changes in 3.0.15 beta.
Fabian Keil [Sat, 10 Oct 2009 05:53:32 +0000 (05:53 +0000)]
Mention changes in 3.0.15 beta.

15 years ago- Update for 3.0.15 beta.
Fabian Keil [Sat, 10 Oct 2009 05:52:55 +0000 (05:52 +0000)]
- Update for 3.0.15 beta.
- Remove reference to Redhat init script.

15 years agoUpdate "What's new" section.
Fabian Keil [Sat, 10 Oct 2009 05:51:48 +0000 (05:51 +0000)]
Update "What's new" section.

15 years agoWe now have keep-alive support on all platforms.
Fabian Keil [Sat, 10 Oct 2009 05:51:13 +0000 (05:51 +0000)]
We now have keep-alive support on all platforms.

15 years agoAccept and highlight some POST-related messages.
Fabian Keil [Sat, 10 Oct 2009 05:50:02 +0000 (05:50 +0000)]
Accept and highlight some POST-related messages.

15 years agoPrepare for 3.0.15 beta.
Fabian Keil [Sat, 10 Oct 2009 05:48:55 +0000 (05:48 +0000)]
Prepare for 3.0.15 beta.

15 years agoSet CODE_STATUS to beta.
Fabian Keil [Sat, 10 Oct 2009 05:47:52 +0000 (05:47 +0000)]
Set CODE_STATUS to beta.

15 years agoAdd note-worthy changes in 3.0.15 beta.
Fabian Keil [Sat, 10 Oct 2009 05:47:19 +0000 (05:47 +0000)]
Add note-worthy changes in 3.0.15 beta.

15 years agoGarbage collect a previously overlooked reference to FEATURE_KILL_POPUPS.
Fabian Keil [Fri, 9 Oct 2009 16:51:52 +0000 (16:51 +0000)]
Garbage collect a previously overlooked reference to FEATURE_KILL_POPUPS.

15 years agoFix compiler warning when compiled with FEATURE_CONNECTION_KEEP_ALIVE undefined,...
Fabian Keil [Fri, 9 Oct 2009 16:50:50 +0000 (16:50 +0000)]
Fix compiler warning when compiled with FEATURE_CONNECTION_KEEP_ALIVE undefined, even though it's defined by default now.

15 years agoCompletely highlight: Found reusable socket 8 for www.privoxy.org:80 in slot 2. Times...
Fabian Keil [Fri, 9 Oct 2009 16:49:30 +0000 (16:49 +0000)]
Completely highlight: Found reusable socket 8 for privoxy.org:80 in slot 2. Timestamp made 0 seconds ago. Timeout: 1. Latency: 0.

15 years agoFix sort order messed up in the previous commit.
Fabian Keil [Thu, 8 Oct 2009 11:50:41 +0000 (11:50 +0000)]
Fix sort order messed up in the previous commit.

15 years agoSet the redirect test level to 108 so they aren't executed by default.
Fabian Keil [Thu, 8 Oct 2009 11:48:20 +0000 (11:48 +0000)]
Set the redirect test level to 108 so they aren't executed by default.

Failed tests will result in outgoing connections
and the user may not want that to happen.

15 years agoRemove superfluous anonymous sub in parse_cli_options().
Fabian Keil [Thu, 8 Oct 2009 11:47:37 +0000 (11:47 +0000)]
Remove superfluous anonymous sub in parse_cli_options().

15 years agoAdd a --help option.
Fabian Keil [Thu, 8 Oct 2009 11:47:12 +0000 (11:47 +0000)]
Add a --help option.

15 years agoention --statistics option in perldoc.
Fabian Keil [Thu, 8 Oct 2009 11:46:25 +0000 (11:46 +0000)]
ention --statistics option in perldoc.

15 years agoImplement a --statistics option that currently is mainly useful to look at keep-alive...
Fabian Keil [Thu, 8 Oct 2009 11:45:56 +0000 (11:45 +0000)]
Implement a --statistics option that currently is mainly useful to look at keep-alive issues.

15 years agoPlug a server socket leak introduced in 1.299.
Fabian Keil [Thu, 8 Oct 2009 07:36:37 +0000 (07:36 +0000)]
Plug a server socket leak introduced in 1.299.

Privoxy-Regression-Test ftw.

15 years agoAdd Francois Marier who reported a jumping-windows issue on openstreetmap.org in...
Fabian Keil [Wed, 7 Oct 2009 16:11:18 +0000 (16:11 +0000)]
Add Francois Marier who reported a jumping-windows issue on openstreetmap.org in #2863990.

15 years agoAdd Francois Botha and Wan-Teh Chang for their NTLM-related help in #2717882.
Fabian Keil [Sun, 4 Oct 2009 16:44:33 +0000 (16:44 +0000)]
Add Francois Botha and Wan-Teh Chang for their NTLM-related help in #2717882.

15 years agoDon't use AI_ADDRCONFIG on platforms that don't support it.
Fabian Keil [Sun, 4 Oct 2009 16:38:26 +0000 (16:38 +0000)]
Don't use AI_ADDRCONFIG on platforms that don't support it.

Compile fix for OpenBSD and earlier glibc versions.
Anonymously submitted in #2872591.

15 years agoHighlight: Stopped waiting for the request line. Timeout: 121.
Fabian Keil [Sun, 4 Oct 2009 15:47:12 +0000 (15:47 +0000)]
Highlight: Stopped waiting for the request line. Timeout: 121.

15 years agoDowngrade "request line timeout" message to LOG_LEVEL_CONNECT and let it mention...
Fabian Keil [Sun, 4 Oct 2009 15:46:25 +0000 (15:46 +0000)]
Downgrade "request line timeout" message to LOG_LEVEL_CONNECT and let it mention the timeout value.

15 years agoGarbage collect csp->sfd and consistently use csp->server_connection.sfd instead.
Fabian Keil [Sun, 4 Oct 2009 15:45:11 +0000 (15:45 +0000)]
Garbage collect csp->sfd and consistently use csp->server_connection.sfd instead.

15 years agoIn case of missing server data, send no error message to the client if the request...
Fabian Keil [Sun, 4 Oct 2009 15:34:18 +0000 (15:34 +0000)]
In case of missing server data, send no error message to the client if the request arrived on a reused connection.

The client is then supposed to silently retry the request without
bothering the user. At least Firefox actually does that.