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.
Fabian Keil [Mon, 11 Jan 2010 11:41:07 +0000 (11:41 +0000)]
Update license URL in win32_blurb[] and bump copyright range.
Lee [Sun, 10 Jan 2010 13:53:49 +0000 (13:53 +0000)]
Workaround for firefox hanging on blocked javascript pages
Fabian Keil [Tue, 5 Jan 2010 23:36:43 +0000 (23:36 +0000)]
Fix two highlighting patterns that were too aggressive.
Fabian Keil [Sun, 3 Jan 2010 13:49:01 +0000 (13:49 +0000)]
Bump version to 0.4.
Fabian Keil [Sun, 3 Jan 2010 13:48:44 +0000 (13:48 +0000)]
Bump version to 0.6.
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.
Fabian Keil [Thu, 31 Dec 2009 11:56:02 +0000 (11:56 +0000)]
In handle_loglevel_header(), deal with "scan:" messages more efficiently.
Fabian Keil [Thu, 31 Dec 2009 11:55:27 +0000 (11:55 +0000)]
In handle_loglevel_header(), consistently use $c and remove $content.
Fabian Keil [Thu, 31 Dec 2009 11:54:55 +0000 (11:54 +0000)]
Remove trailing white-space.
Fabian Keil [Wed, 30 Dec 2009 15:15:56 +0000 (15:15 +0000)]
In parse_loop(), check for truncated lines more efficiently.
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().
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.
Fabian Keil [Wed, 30 Dec 2009 13:33:47 +0000 (13:33 +0000)]
Unbreak print_non_clf_message() when generating HTML.
Fabian Keil [Wed, 30 Dec 2009 11:44:14 +0000 (11:44 +0000)]
Refactor get_line_end() so it doesn't shadow $line_end.
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.
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.
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).
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.
Fabian Keil [Sat, 26 Dec 2009 11:32:54 +0000 (11:32 +0000)]
Ditch some dead code in main().
Fabian Keil [Sat, 26 Dec 2009 11:32:12 +0000 (11:32 +0000)]
Remove trailing white-space.
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.
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.
Fabian Keil [Tue, 22 Dec 2009 13:05:21 +0000 (13:05 +0000)]
Deal with serve()'s recently changed log messages.
Fabian Keil [Tue, 22 Dec 2009 13:04:10 +0000 (13:04 +0000)]
In serve()'s log messages, mention the client socket, too.
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.
Fabian Keil [Wed, 16 Dec 2009 08:36:39 +0000 (08:36 +0000)]
Show FEATURE_ACCEPT_FITLER on the show-status page.
Fabian Keil [Wed, 16 Dec 2009 08:35:47 +0000 (08:35 +0000)]
Add optional support for FreeBSD's accf_http(9).
Fabian Keil [Wed, 16 Dec 2009 08:28:11 +0000 (08:28 +0000)]
Add Jeff H. who contributed fancier win32 icons.
Fabian Keil [Wed, 16 Dec 2009 08:15:42 +0000 (08:15 +0000)]
Start using the fancier radar icons.
Fabian Keil [Wed, 16 Dec 2009 08:08:38 +0000 (08:08 +0000)]
Start using the fancier radar icons.
Fabian Keil [Wed, 16 Dec 2009 08:05:55 +0000 (08:05 +0000)]
Add fancier Privoxy icons for win32.
Contributed by Jeff H.
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.
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.
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
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.
Fabian Keil [Sun, 29 Nov 2009 15:04:51 +0000 (15:04 +0000)]
Add default-server-timeout section.
Fabian Keil [Sun, 29 Nov 2009 15:04:08 +0000 (15:04 +0000)]
Added default-server-timeout description.
Fabian Keil [Fri, 27 Nov 2009 13:47:34 +0000 (13:47 +0000)]
Document the default-server-timeout config option.
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.
Fabian Keil [Sun, 15 Nov 2009 14:26:02 +0000 (14:26 +0000)]
Rebuilt 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.
Fabian Keil [Sun, 15 Nov 2009 14:22:41 +0000 (14:22 +0000)]
Describe how to get a meaningful logfile.
Fabian Keil [Tue, 10 Nov 2009 16:21:06 +0000 (16:21 +0000)]
Exit in case of unrecognized parameters.
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.
Lee [Sun, 8 Nov 2009 18:09:52 +0000 (18:09 +0000)]
Hilight a few more log messages in the Windows log viewer.
Lee [Sun, 8 Nov 2009 17:54:09 +0000 (17:54 +0000)]
Add comments for (relatively) new features bitmasks.
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.
Fabian Keil [Sat, 31 Oct 2009 14:46:59 +0000 (14:46 +0000)]
Unblock .facebook.com/.*/track.php.
Reported by David Bonde in #
2836348.
Fabian Keil [Sat, 31 Oct 2009 10:14:07 +0000 (10:14 +0000)]
Accept: keep-alive support is disabled. Crunching: Keep-Alive: 300.
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.
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.
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.
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.
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.
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.
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.
Fabian Keil [Sat, 24 Oct 2009 11:11:33 +0000 (11:11 +0000)]
Bump version to 3.0.16 UNRELEASED.
Fabian Keil [Sat, 10 Oct 2009 19:48:39 +0000 (19:48 +0000)]
Update whatsnew URL for 3.0.15. Better late than never ...
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 ...
Fabian Keil [Sat, 10 Oct 2009 06:53:10 +0000 (06:53 +0000)]
Apparently this file has been merged into whatsnew.html.
Fabian Keil [Sat, 10 Oct 2009 06:19:34 +0000 (06:19 +0000)]
Ditch a duplicated 'since'.
Fabian Keil [Sat, 10 Oct 2009 06:07:40 +0000 (06:07 +0000)]
Prepare for 3.0.15 beta.
Fabian Keil [Sat, 10 Oct 2009 06:06:23 +0000 (06:06 +0000)]
Apparently this file has been merged with introduction.html.
Fabian Keil [Sat, 10 Oct 2009 06:01:52 +0000 (06:01 +0000)]
Regenerated docs for 3.0.15.
Fabian Keil [Sat, 10 Oct 2009 05:56:41 +0000 (05:56 +0000)]
Bump version number to 3.0.15.
Fabian Keil [Sat, 10 Oct 2009 05:56:10 +0000 (05:56 +0000)]
Rebuild with recent changes.
Fabian Keil [Sat, 10 Oct 2009 05:53:32 +0000 (05:53 +0000)]
Mention changes in 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.
Fabian Keil [Sat, 10 Oct 2009 05:51:48 +0000 (05:51 +0000)]
Update "What's new" section.
Fabian Keil [Sat, 10 Oct 2009 05:51:13 +0000 (05:51 +0000)]
We now have keep-alive support on all platforms.
Fabian Keil [Sat, 10 Oct 2009 05:50:02 +0000 (05:50 +0000)]
Accept and highlight some POST-related messages.
Fabian Keil [Sat, 10 Oct 2009 05:48:55 +0000 (05:48 +0000)]
Prepare for 3.0.15 beta.
Fabian Keil [Sat, 10 Oct 2009 05:47:52 +0000 (05:47 +0000)]
Set CODE_STATUS to beta.
Fabian Keil [Sat, 10 Oct 2009 05:47:19 +0000 (05:47 +0000)]
Add note-worthy changes in 3.0.15 beta.
Fabian Keil [Fri, 9 Oct 2009 16:51:52 +0000 (16:51 +0000)]
Garbage collect a previously overlooked reference to FEATURE_KILL_POPUPS.
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.
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.
Fabian Keil [Thu, 8 Oct 2009 11:50:41 +0000 (11:50 +0000)]
Fix sort order messed up in the previous commit.
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.
Fabian Keil [Thu, 8 Oct 2009 11:47:37 +0000 (11:47 +0000)]
Remove superfluous anonymous sub in parse_cli_options().
Fabian Keil [Thu, 8 Oct 2009 11:47:12 +0000 (11:47 +0000)]
Add a --help option.
Fabian Keil [Thu, 8 Oct 2009 11:46:25 +0000 (11:46 +0000)]
ention --statistics option in perldoc.
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.
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.
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.
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.
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.
Fabian Keil [Sun, 4 Oct 2009 15:47:12 +0000 (15:47 +0000)]
Highlight: Stopped waiting for the request line. Timeout: 121.
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.
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.
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.
Fabian Keil [Sat, 3 Oct 2009 10:40:05 +0000 (10:40 +0000)]
Update the google filter to remove the width restrictions again.
Fabian Keil [Sat, 3 Oct 2009 10:39:33 +0000 (10:39 +0000)]
Update the yahoo filter to remove the width restrictions again.
Fabian Keil [Sat, 3 Oct 2009 10:38:58 +0000 (10:38 +0000)]
Update the msn filter to remove the width restrictions again.
Fabian Keil [Sat, 3 Oct 2009 10:37:49 +0000 (10:37 +0000)]
Streamline remember_connection()'s prototype.
Nowadays csp->server_connection contains all the information it needs.
Fabian Keil [Fri, 2 Oct 2009 18:07:22 +0000 (18:07 +0000)]
Disable the jumping-windows filter for openstreetmap.org.
Reported by Francois Marier in #
2863990.
Fabian Keil [Thu, 1 Oct 2009 16:07:34 +0000 (16:07 +0000)]
And by 'latency' we don't mean the round trip time.
Fabian Keil [Thu, 1 Oct 2009 15:05:54 +0000 (15:05 +0000)]
In execute_regression_test(), use a dispatch hash instead a bunch of ifs.
Fabian Keil [Thu, 1 Oct 2009 15:05:26 +0000 (15:05 +0000)]
Redirect-test related cosmetics.