privoxy.git
15 years agoCosmetics.
Fabian Keil [Sat, 25 Oct 2008 15:45:04 +0000 (15:45 +0000)]
Cosmetics.

15 years agoUnderstand dependencies like:
Fabian Keil [Sat, 25 Oct 2008 15:42:05 +0000 (15:42 +0000)]
Understand dependencies like:
# Level 13 needs = feature status FEATURE_CONNECTION_KEEP_ALIVE Yes
# Level 14 needs = feature status FEATURE_CONNECTION_KEEP_ALIVE No

15 years agoRemove already out-commented line left over from debugging.
Fabian Keil [Sat, 25 Oct 2008 11:33:01 +0000 (11:33 +0000)]
Remove already out-commented line left over from debugging.

15 years ago- Tone the "keep-alive support is experimental" warning
Fabian Keil [Fri, 24 Oct 2008 17:33:00 +0000 (17:33 +0000)]
- Tone the "keep-alive support is experimental" warning
  down a bit as hackish 0-chunk detection has been
  implemented recently.
- Only show the "ndef HAVE_POLL" warning once on start-up.

15 years agoFix forget_connection() and mark_connection_unused(),
Fabian Keil [Thu, 23 Oct 2008 17:40:53 +0000 (17:40 +0000)]
Fix forget_connection() and mark_connection_unused(),
which would both under certain circumstances access
reusable_connection[MAX_REUSABLE_CONNECTIONS]. Oops.

15 years agoOnce More, With Feeling: if there is no logfile
Fabian Keil [Wed, 22 Oct 2008 15:19:55 +0000 (15:19 +0000)]
Once More, With Feeling: if there is no logfile
because the user didn't specify one, we shouldn't
call init_error_log() after receiving SIGHUP either.

15 years agoUpdate init_error_log() description to match reality.
Fabian Keil [Mon, 20 Oct 2008 17:09:25 +0000 (17:09 +0000)]
Update init_error_log() description to match reality.

15 years agoIf SIGHUP is received while we aren't running in daemon
Fabian Keil [Mon, 20 Oct 2008 17:02:40 +0000 (17:02 +0000)]
If SIGHUP is received while we aren't running in daemon
mode, calling init_error_log() would be a mistake.

15 years ago- Factor close_unusable_connections() out of
Fabian Keil [Sat, 18 Oct 2008 19:49:15 +0000 (19:49 +0000)]
- Factor close_unusable_connections() out of
  get_reusable_connection() to make sure we really check
  all the remembered connections, not just the ones before
  the next reusable one.
- Plug two file descriptor leaks. Internally marking
  connections as closed doesn't cut it.

15 years agoIgnore two tests that are only correct if
Fabian Keil [Sat, 18 Oct 2008 16:37:12 +0000 (16:37 +0000)]
Ignore two tests that are only correct if
FEATURE_CONNECTION_KEEP_ALIVE is disabled.

15 years agoAccept two additional keep-alive related messages.
Fabian Keil [Sat, 18 Oct 2008 16:23:51 +0000 (16:23 +0000)]
Accept two additional keep-alive related messages.

15 years agoConnection keep-alive support is ready for testing,
Fabian Keil [Sat, 18 Oct 2008 11:17:52 +0000 (11:17 +0000)]
Connection keep-alive support is ready for testing,
allow enabling it through the configure script.

15 years agoImprove seed used by pick_from_range() on mingw32.
Fabian Keil [Sat, 18 Oct 2008 11:09:23 +0000 (11:09 +0000)]
Improve seed used by pick_from_range() on mingw32.

15 years agoIn socket_is_still_usable(), use select()
Fabian Keil [Fri, 17 Oct 2008 17:12:01 +0000 (17:12 +0000)]
In socket_is_still_usable(), use select()
and FD_ISSET() if poll() isn't available.

15 years agoAdd preliminary timeout support.
Fabian Keil [Fri, 17 Oct 2008 17:07:13 +0000 (17:07 +0000)]
Add preliminary timeout support.

15 years agoFix two gcc44 warnings.
Fabian Keil [Thu, 16 Oct 2008 16:34:21 +0000 (16:34 +0000)]
Fix two gcc44 warnings.

15 years agoFix compiler warning.
Fabian Keil [Thu, 16 Oct 2008 16:27:22 +0000 (16:27 +0000)]
Fix compiler warning.

15 years ago- Fix two gcc44 conversion warnings.
Fabian Keil [Thu, 16 Oct 2008 09:16:41 +0000 (09:16 +0000)]
- Fix two gcc44 conversion warnings.
- Don't bother logging the last five bytes
  of the 0-chunk.

15 years ago- Factor socket_is_still_usable() out of get_reusable_connection().
Fabian Keil [Thu, 16 Oct 2008 07:31:11 +0000 (07:31 +0000)]
- Factor socket_is_still_usable() out of get_reusable_connection().
- If poll() isn't available, show a warning and assume the socket
  is still usable.

15 years agoFix a bunch of gcc44 conversion warnings.
Fabian Keil [Thu, 16 Oct 2008 07:11:34 +0000 (07:11 +0000)]
Fix a bunch of gcc44 conversion warnings.

15 years agoIf a remembered connection is no longer usable and
Fabian Keil [Mon, 13 Oct 2008 17:31:03 +0000 (17:31 +0000)]
If a remembered connection is no longer usable and
has been marked closed, don't bother checking if the
destination matches.

15 years agoMake sure we don't try to reuse tainted server sockets.
Fabian Keil [Mon, 13 Oct 2008 16:04:37 +0000 (16:04 +0000)]
Make sure we don't try to reuse tainted server sockets.

15 years agoThe last commit was a bit too ambitious, apparently the content
Fabian Keil [Sun, 12 Oct 2008 18:35:18 +0000 (18:35 +0000)]
The last commit was a bit too ambitious, apparently the content
length adjustment is only necessary if we aren't buffering.

15 years agoRemove obsolete warning about delayed delivery with chunked
Fabian Keil [Sun, 12 Oct 2008 16:46:35 +0000 (16:46 +0000)]
Remove obsolete warning about delayed delivery with chunked
transfer encoding and FEATURE_CONNECTION_KEEP_ALIVE enabled.

15 years agoFix content length calculation if we read headers
Fabian Keil [Sun, 12 Oct 2008 15:57:35 +0000 (15:57 +0000)]
Fix content length calculation if we read headers
and the start of the body at once. Now that we have
FEATURE_CONNECTION_KEEP_ALIVE, it actually matters.

15 years agoEven more chat() cosmetics.
Fabian Keil [Sat, 11 Oct 2008 18:19:14 +0000 (18:19 +0000)]
Even more chat() cosmetics.

15 years agoReformat some comments in chat().
Fabian Keil [Sat, 11 Oct 2008 18:00:14 +0000 (18:00 +0000)]
Reformat some comments in chat().

15 years agoAdd missing dots for two log messages.
Fabian Keil [Sat, 11 Oct 2008 16:59:41 +0000 (16:59 +0000)]
Add missing dots for two log messages.

15 years agoIn case of chunk-encoded content, stop reading if
Fabian Keil [Sat, 11 Oct 2008 14:58:00 +0000 (14:58 +0000)]
In case of chunk-encoded content, stop reading if
the buffer looks like it ends with the last chunk.

15 years agoAdd FEATURE_CONNECTION_KEEP_ALIVE to the list
Fabian Keil [Sat, 11 Oct 2008 11:31:14 +0000 (11:31 +0000)]
Add FEATURE_CONNECTION_KEEP_ALIVE to the list
of conditional defines on the show-status page.

15 years agoAdd line-breaks for overly long log message examples.
Fabian Keil [Sat, 11 Oct 2008 10:36:58 +0000 (10:36 +0000)]
Add line-breaks for overly long log message examples.

15 years agoAdd support for keep-alive-related log messages.
Fabian Keil [Sat, 11 Oct 2008 10:15:18 +0000 (10:15 +0000)]
Add support for keep-alive-related log messages.

15 years agoLet server_response_is_complete() deal properly with
Fabian Keil [Sat, 11 Oct 2008 09:53:00 +0000 (09:53 +0000)]
Let server_response_is_complete() deal properly with
content that is neither buffered nor read all at once.

15 years agoFlush work-in-progress changes to keep outgoing connections
Fabian Keil [Thu, 9 Oct 2008 18:21:41 +0000 (18:21 +0000)]
Flush work-in-progress changes to keep outgoing connections
alive where possible. Incomplete and mostly #ifdef'd out.

15 years agoReturn only once in forwarded_connect().
Fabian Keil [Sat, 27 Sep 2008 15:05:51 +0000 (15:05 +0000)]
Return only once in forwarded_connect().

15 years ago- Break some more CVS substitutions in examples.
Fabian Keil [Fri, 26 Sep 2008 17:02:01 +0000 (17:02 +0000)]
- Break some more CVS substitutions in examples.
- Remove Junkbusters reference in example header
  for new files.

15 years agoUpdate "What's new" section.
Fabian Keil [Fri, 26 Sep 2008 16:53:09 +0000 (16:53 +0000)]
Update "What's new" section.

15 years agoFix entry count.
Fabian Keil [Fri, 26 Sep 2008 16:49:09 +0000 (16:49 +0000)]
Fix entry count.

15 years agoMention mutex locks on mingw32.
Fabian Keil [Fri, 26 Sep 2008 16:01:45 +0000 (16:01 +0000)]
Mention mutex locks on mingw32.

15 years agoFix Portage tree sync instructions in Gentoo section.
Fabian Keil [Sun, 21 Sep 2008 15:38:56 +0000 (15:38 +0000)]
Fix Portage tree sync instructions in Gentoo section.
Anonymously reported at ijbswa-developers@.

15 years agoRebuild for change-x-forwarded-for{} documentation.
Fabian Keil [Sun, 21 Sep 2008 15:19:31 +0000 (15:19 +0000)]
Rebuild for change-x-forwarded-for{} documentation.

15 years agoUse +change-x-forwarded-for{block} instead of
Fabian Keil [Sun, 21 Sep 2008 14:45:05 +0000 (14:45 +0000)]
Use +change-x-forwarded-for{block} instead of
+hide-forwarded-for-headers.

15 years agoAdd documentation for change-x-forwarded-for{},
Fabian Keil [Sun, 21 Sep 2008 14:42:52 +0000 (14:42 +0000)]
Add documentation for change-x-forwarded-for{},
remove documentation for hide-forwarded-for-headers.

15 years agoTreat unknown change-x-forwarded-for parameters as fatal errors.
Fabian Keil [Sun, 21 Sep 2008 13:59:33 +0000 (13:59 +0000)]
Treat unknown change-x-forwarded-for parameters as fatal errors.

15 years agoIf change-x-forwarded-for{add} is used and the client
Fabian Keil [Sun, 21 Sep 2008 13:36:52 +0000 (13:36 +0000)]
If change-x-forwarded-for{add} is used and the client
sends multiple X-Forwarded-For headers, append the client's
IP address to each one of them. "Traditionally" we would
lose all but the last one.

15 years agoAdd Roland's man page fixes from 19_manpage_fixup.dpatch.
Fabian Keil [Sun, 21 Sep 2008 13:24:37 +0000 (13:24 +0000)]
Add Roland's man page fixes from 19_manpage_fixup.dpatch.

15 years agoUnblock Debian popularity-contest. Debian bug #441256,
Fabian Keil [Sun, 21 Sep 2008 11:36:59 +0000 (11:36 +0000)]
Unblock Debian popularity-contest. Debian bug #441256,
seen in Roland's 05_defaut_action.dpatch.

15 years agomerge Debian changes from 3.0.7 to 3.0.10
Roland Rosenfeld [Sat, 20 Sep 2008 16:39:53 +0000 (16:39 +0000)]
merge Debian changes from 3.0.7 to 3.0.10

15 years agoMention change-x-forwarded-for{}.
Fabian Keil [Sat, 20 Sep 2008 11:27:22 +0000 (11:27 +0000)]
Mention change-x-forwarded-for{}.

15 years ago- Bump for-privoxy-version to 3.0.11.
Fabian Keil [Sat, 20 Sep 2008 10:11:49 +0000 (10:11 +0000)]
- Bump for-privoxy-version to 3.0.11.
- Remove hide-forwarded-for-headers description.

15 years agoBump for-privoxy-version to 3.0.11.
Fabian Keil [Sat, 20 Sep 2008 10:11:13 +0000 (10:11 +0000)]
Bump for-privoxy-version to 3.0.11.

15 years agoRemove hide-forwarded-for-headers action which has
Fabian Keil [Sat, 20 Sep 2008 10:04:33 +0000 (10:04 +0000)]
Remove hide-forwarded-for-headers action which has
been obsoleted by change-x-forwarded-for{block}.

15 years agoUse +change-x-forwarded-for{block} instead of
Fabian Keil [Fri, 19 Sep 2008 16:49:37 +0000 (16:49 +0000)]
Use +change-x-forwarded-for{block} instead of
+hide-forwarded-for-headers as the latter will
be removed soonish. Also document the former.

15 years agoUse +change-x-forwarded-for{block} instead of
Fabian Keil [Fri, 19 Sep 2008 15:54:47 +0000 (15:54 +0000)]
Use +change-x-forwarded-for{block} instead of
+hide-forwarded-for-headers as the latter will
be removed soonish.

15 years agoFix sorting.
Fabian Keil [Fri, 19 Sep 2008 15:43:54 +0000 (15:43 +0000)]
Fix sorting.

15 years agoAdd tests for change-x-forwarded-for{}.
Fabian Keil [Fri, 19 Sep 2008 15:31:38 +0000 (15:31 +0000)]
Add tests for change-x-forwarded-for{}.

15 years agoAdd change-x-forwarded-for{} action to block or add
Fabian Keil [Fri, 19 Sep 2008 15:26:29 +0000 (15:26 +0000)]
Add change-x-forwarded-for{} action to block or add
X-Forwarded-For headers. Mostly based on code removed
before 3.0.7.

15 years agos@tounge@tongue@. Anonymously reported in #1648657.
Fabian Keil [Fri, 19 Sep 2008 13:26:04 +0000 (13:26 +0000)]
s@tounge@tongue@. Anonymously reported in #1648657.

15 years ago- A few style fixes.
Fabian Keil [Fri, 12 Sep 2008 17:51:43 +0000 (17:51 +0000)]
- A few style fixes.
- Remove a pointless cast.

15 years ago- Remove a misleading paragraph.
Fabian Keil [Thu, 11 Sep 2008 17:08:02 +0000 (17:08 +0000)]
- Remove a misleading paragraph.
- Remove vi marker as this is a plain text file.

15 years agoUpdate a comment to reflect that we
Fabian Keil [Sun, 7 Sep 2008 16:59:31 +0000 (16:59 +0000)]
Update a comment to reflect that we
have mutex support on mingw32 now.

15 years agoMove the LogPutString() call in log_error() into the locked
Fabian Keil [Sun, 7 Sep 2008 12:43:44 +0000 (12:43 +0000)]
Move the LogPutString() call in log_error() into the locked
region so the Windows GUI log is consistent with the logfile.

15 years agoAdd mutex lock support for _WIN32.
Fabian Keil [Sun, 7 Sep 2008 12:35:05 +0000 (12:35 +0000)]
Add mutex lock support for _WIN32.

15 years agoPrepare for critical sections on Windows by adding a
Fabian Keil [Thu, 4 Sep 2008 08:13:58 +0000 (08:13 +0000)]
Prepare for critical sections on Windows by adding a
layer of indirection before the pthread mutex functions.

15 years ago"View the request headers" isn't more equal than the other
Fabian Keil [Sun, 31 Aug 2008 16:08:12 +0000 (16:08 +0000)]
"View the request headers" isn't more equal than the other
menu items and thus doesn't need a trailing dot either.

15 years agoThere's no reason to let remote toggling support depend
Fabian Keil [Sun, 31 Aug 2008 15:59:03 +0000 (15:59 +0000)]
There's no reason to let remote toggling support depend
on FEATURE_CGI_EDIT_ACTIONS, so make sure it doesn't.

15 years agoAdd a @date@ symbol to include a date(1)-like time string
Fabian Keil [Sun, 31 Aug 2008 14:55:43 +0000 (14:55 +0000)]
Add a @date@ symbol to include a date(1)-like time string
in templates. Modified version of the patch Endre Szabo
submitted in #2026468.

15 years agoRebuild for 3.0.11 UNRELEASED.
Fabian Keil [Sat, 30 Aug 2008 15:45:52 +0000 (15:45 +0000)]
Rebuild for 3.0.11 UNRELEASED.

15 years agoUpdate entities.
Fabian Keil [Sat, 30 Aug 2008 15:37:35 +0000 (15:37 +0000)]
Update entities.

15 years agoThe jarfile directive is gone. Update accordingly.
Fabian Keil [Sat, 30 Aug 2008 15:31:53 +0000 (15:31 +0000)]
The jarfile directive is gone. Update accordingly.

15 years agoThe jarfile directive is gone. Update accordingly.
Fabian Keil [Sat, 30 Aug 2008 12:46:49 +0000 (12:46 +0000)]
The jarfile directive is gone. Update accordingly.

15 years agoRemove FEATURE_COOKIE_JAR.
Fabian Keil [Sat, 30 Aug 2008 12:03:09 +0000 (12:03 +0000)]
Remove FEATURE_COOKIE_JAR.

15 years agoFix two comments.
Fabian Keil [Fri, 29 Aug 2008 15:59:22 +0000 (15:59 +0000)]
Fix two comments.

15 years agoDisable banners-by-size for fsfe.org.
Fabian Keil [Fri, 29 Aug 2008 14:24:45 +0000 (14:24 +0000)]
Disable banners-by-size for fsfe.org.

15 years agoDocument --test-number.
Fabian Keil [Fri, 22 Aug 2008 16:54:09 +0000 (16:54 +0000)]
Document --test-number.

15 years ago- Silence LLVM/Clang complaint.
Fabian Keil [Fri, 22 Aug 2008 15:34:45 +0000 (15:34 +0000)]
- Silence LLVM/Clang complaint.
- Make received_hup_signal static.
- Hide definitions for basedir, pidfile and received_hup_signal
  from __EMX__ as they only seem to be used in case of #ifdef unix.

15 years agoMinor verbage changes to reflect that we are between releases.
hal9 [Fri, 22 Aug 2008 00:44:58 +0000 (00:44 +0000)]
Minor verbage changes to reflect that we are between releases.

15 years agoChange version to 3.0.11 UNRELEASED.
Fabian Keil [Thu, 21 Aug 2008 17:19:50 +0000 (17:19 +0000)]
Change version to 3.0.11 UNRELEASED.

15 years agoHighlight Shoutcast response lines.
Fabian Keil [Thu, 21 Aug 2008 07:19:59 +0000 (07:19 +0000)]
Highlight Shoutcast response lines.

15 years agoAccept Shoutcast responses again. Problem reported
Fabian Keil [Thu, 21 Aug 2008 07:09:35 +0000 (07:09 +0000)]
Accept Shoutcast responses again. Problem reported
and fix suggested by Stefan in #2062860.

15 years agoFix typo in macro name.
Fabian Keil [Mon, 18 Aug 2008 17:42:06 +0000 (17:42 +0000)]
Fix typo in macro name.

15 years agoFix typo.
hal9 [Sun, 17 Aug 2008 15:35:18 +0000 (15:35 +0000)]
Fix typo.

15 years agoAdd Lee as maintainer for the Windows package.
Fabian Keil [Sat, 16 Aug 2008 13:23:59 +0000 (13:23 +0000)]
Add Lee as maintainer for the Windows package.

15 years agoRegenerate with recent changes.
Fabian Keil [Sat, 16 Aug 2008 10:21:16 +0000 (10:21 +0000)]
Regenerate with recent changes.

15 years agoMerge two sentences and move the URL to the end of the item.
Fabian Keil [Sat, 16 Aug 2008 10:12:23 +0000 (10:12 +0000)]
Merge two sentences and move the URL to the end of the item.

15 years agoSome more syntax fixes. This version actually builds.
Fabian Keil [Sat, 16 Aug 2008 10:04:59 +0000 (10:04 +0000)]
Some more syntax fixes. This version actually builds.

15 years agoTurns out building docs works better if the syntax is valid.
Fabian Keil [Sat, 16 Aug 2008 09:42:45 +0000 (09:42 +0000)]
Turns out building docs works better if the syntax is valid.

15 years agos@beta@stable@
Fabian Keil [Sat, 16 Aug 2008 09:34:52 +0000 (09:34 +0000)]
s@beta@stable@

15 years agoMention changes since 3.0.9 beta.
Fabian Keil [Sat, 16 Aug 2008 09:32:02 +0000 (09:32 +0000)]
Mention changes since 3.0.9 beta.

15 years agoFix URLs with ampersands.
Fabian Keil [Sat, 16 Aug 2008 09:22:32 +0000 (09:22 +0000)]
Fix URLs with ampersands.

15 years agoFix example URL pattern (once more with feeling).
Fabian Keil [Sat, 16 Aug 2008 09:00:52 +0000 (09:00 +0000)]
Fix example URL pattern (once more with feeling).

15 years agoUpdate version-related entities.
Fabian Keil [Sat, 16 Aug 2008 08:51:28 +0000 (08:51 +0000)]
Update version-related entities.

15 years agoAdd track.webtrekk.de to the block-as-image section.
Fabian Keil [Fri, 15 Aug 2008 16:46:51 +0000 (16:46 +0000)]
Add track.webtrekk.de to the block-as-image section.

15 years agoFix umlauts.
Fabian Keil [Fri, 15 Aug 2008 03:49:22 +0000 (03:49 +0000)]
Fix umlauts.

15 years agoRebuild for 3.0.10, and it surely needs to be fixed.
hal9 [Thu, 14 Aug 2008 23:44:28 +0000 (23:44 +0000)]
Rebuild for 3.0.10, and it surely needs to be fixed.

15 years agoGet ready for 3.0.10
hal9 [Thu, 14 Aug 2008 23:38:47 +0000 (23:38 +0000)]
Get ready for 3.0.10

15 years agoRebuild for 3.0.10
hal9 [Thu, 14 Aug 2008 23:32:54 +0000 (23:32 +0000)]
Rebuild for 3.0.10

15 years agoAdd two tests for trailing dots in host patterns.
Fabian Keil [Thu, 14 Aug 2008 18:33:37 +0000 (18:33 +0000)]
Add two tests for trailing dots in host patterns.

15 years agoRebuild for 3.0.10
hal9 [Thu, 14 Aug 2008 16:57:40 +0000 (16:57 +0000)]
Rebuild for 3.0.10

15 years agoRebuild for 3.0.10
hal9 [Thu, 14 Aug 2008 16:48:54 +0000 (16:48 +0000)]
Rebuild for 3.0.10