privoxy.git
17 years agoRemove the old log_error() version.
Fabian Keil [Sun, 14 Oct 2007 14:26:56 +0000 (14:26 +0000)]
Remove the old log_error() version.

17 years agoWhen in daemon mode, close stderr after the configuration file has been
Fabian Keil [Sun, 14 Oct 2007 14:12:41 +0000 (14:12 +0000)]
When in daemon mode, close stderr after the configuration file has been
parsed the first time. If logfile isn't set, stop logging. Fixes BR#897436.

17 years agoAdded .widgetbucks due to scrolly adverts
proactivesvcs [Fri, 12 Oct 2007 13:36:49 +0000 (13:36 +0000)]
Added .widgetbucks due to scrolly adverts

17 years agoI forgot about Poland.
Fabian Keil [Wed, 10 Oct 2007 17:29:57 +0000 (17:29 +0000)]
I forgot about Poland.

17 years agoRemove Range and If-Range headers if content filtering is enabled.
Fabian Keil [Tue, 9 Oct 2007 16:38:40 +0000 (16:38 +0000)]
Remove Range and If-Range headers if content filtering is enabled.

17 years agoLet msn hide sponsored links in #at divs.
Fabian Keil [Sat, 6 Oct 2007 15:45:25 +0000 (15:45 +0000)]
Let msn hide sponsored links in #at divs.

17 years ago- Let msn hide sponsored links in #ar divs.
Fabian Keil [Sat, 6 Oct 2007 09:54:13 +0000 (09:54 +0000)]
- Let msn hide sponsored links in #ar divs.
- Teach banners-by-link not to block the graphs for sf's tracker statistics.

17 years agoTake nic.ad.jp to just .ad.jp per Tracker feedback.
hal9 [Fri, 5 Oct 2007 02:02:05 +0000 (02:02 +0000)]
Take nic.ad.jp to just .ad.jp per Tracker feedback.

17 years agoMove ACTION_VANILLA_WAFER handling from jcc's chat() into
Fabian Keil [Thu, 4 Oct 2007 18:07:00 +0000 (18:07 +0000)]
Move ACTION_VANILLA_WAFER handling from jcc's chat() into
client_cookie_adder() to make sure send-vanilla-wafer can be
controlled through tags (and thus regression-tested).

17 years ago- Fix a crash when parsing invalid requests whose first header
Fabian Keil [Thu, 4 Oct 2007 18:03:34 +0000 (18:03 +0000)]
- Fix a crash when parsing invalid requests whose first header
  is rejected by get_header(). Regression (re?)introduced
  in r1.143 by yours truly.
- Move ACTION_VANILLA_WAFER handling into parsers.c's
  client_cookie_adder() to make sure send-vanilla-wafer can be
  controlled through tags (and thus regression-tested).

17 years agoSet the maximum listen() backlog to 128. Apparently SOMAXCONN is
Fabian Keil [Sun, 30 Sep 2007 16:59:22 +0000 (16:59 +0000)]
Set the maximum listen() backlog to 128. Apparently SOMAXCONN is
neither high enough, nor a hard limit on mingw32. Again for BR#1795281.

17 years ago- Don't enable fast-redirect for ".*rd.yahoo.com/". It slightly
Fabian Keil [Sun, 30 Sep 2007 14:39:13 +0000 (14:39 +0000)]
- Don't enable fast-redirect for ".*rd.yahoo.com/". It slightly
  violates our "don't break too many sites by default" policy.
- Add a fast-redirect exception for the yahoo URL reported
  in AF#1802365 by David Harper.

17 years agoRemove two redundant and one useless log messages.
Fabian Keil [Sat, 29 Sep 2007 13:20:20 +0000 (13:20 +0000)]
Remove two redundant and one useless log messages.

17 years ago- Remove "scanning headers for" log message again.
Fabian Keil [Sat, 29 Sep 2007 10:42:37 +0000 (10:42 +0000)]
- Remove "scanning headers for" log message again.
- Some more whitespace fixes.

17 years ago- Move get_filter_function() from jcc.c to filters.c
Fabian Keil [Sat, 29 Sep 2007 10:21:16 +0000 (10:21 +0000)]
- Move get_filter_function() from jcc.c to filters.c
  so the filter functions can be static.
- Don't bother filtering body-less responses.

17 years agoExecute content filters through execute_content_filter().
Fabian Keil [Fri, 28 Sep 2007 16:39:29 +0000 (16:39 +0000)]
Execute content filters through execute_content_filter().

17 years ago- Execute content filters through execute_content_filter().
Fabian Keil [Fri, 28 Sep 2007 16:38:55 +0000 (16:38 +0000)]
- Execute content filters through execute_content_filter().
- Add prepare_for_filtering() so filter functions don't have to
  care about de-chunking and decompression. As a side effect this enables
  decompression for gif_deanimate_response() and jpeg_inspect_response().
- Change remove_chunked_transfer_coding()'s return type to jb_err.
  Some clowns feel like chunking empty responses in which case
  (size == 0) is valid but previously would be interpreted as error.

17 years agoUpdate copyright line.
Fabian Keil [Sat, 22 Sep 2007 16:23:25 +0000 (16:23 +0000)]
Update copyright line.

17 years agoMove our includes below system includes to prevent macro conflicts.
Fabian Keil [Sat, 22 Sep 2007 16:17:19 +0000 (16:17 +0000)]
Move our includes below system includes to prevent macro conflicts.

17 years ago- Let it compile with pcc.
Fabian Keil [Sat, 22 Sep 2007 16:15:34 +0000 (16:15 +0000)]
- Let it compile with pcc.
- Move our includes below system includes to prevent macro conflicts.

17 years agoUpdate embedded show-url-info output.
Fabian Keil [Sat, 22 Sep 2007 16:01:42 +0000 (16:01 +0000)]
Update embedded show-url-info output.

17 years agoIf privoxy_strlcpy() is called with a "buffer" size
Fabian Keil [Wed, 19 Sep 2007 20:28:37 +0000 (20:28 +0000)]
If privoxy_strlcpy() is called with a "buffer" size
of 0, don't touch whatever destination points to.

17 years agoIncrease listen() backlog to SOMAXCONN (or 128) to decrease
Fabian Keil [Sat, 15 Sep 2007 13:01:31 +0000 (13:01 +0000)]
Increase listen() backlog to SOMAXCONN (or 128) to decrease
chances of dropped connections under load. Problem reported
and fix suggested by nobody in BR#1795281.

17 years agoTurn privoxy_strlcpy() into a function and try to work with
Fabian Keil [Sun, 9 Sep 2007 18:20:20 +0000 (18:20 +0000)]
Turn privoxy_strlcpy() into a function and try to work with
b0rked snprintf() implementations too. Reported by icmp30.

17 years agoUpdate defaults; add two fast-redirects exceptions.
Fabian Keil [Sun, 9 Sep 2007 15:10:51 +0000 (15:10 +0000)]
Update defaults; add two fast-redirects exceptions.

17 years agoRefactor client_referrer() and add conditional-forge parameter.
Fabian Keil [Sat, 8 Sep 2007 14:25:48 +0000 (14:25 +0000)]
Refactor client_referrer() and add conditional-forge parameter.

17 years agoInitialize req to NULL to make sure it's defined if the
Fabian Keil [Tue, 4 Sep 2007 15:08:48 +0000 (15:08 +0000)]
Initialize req to NULL to make sure it's defined if the
first read_socket() call fails. Reported by icmp30.

17 years agoMove match_portlist() from filter.c to urlmatch.c.
Fabian Keil [Sun, 2 Sep 2007 15:31:20 +0000 (15:31 +0000)]
Move match_portlist() from filter.c to urlmatch.c.
It's used for url matching, not for filtering.

17 years ago- Allow port lists in url patterns.
Fabian Keil [Sun, 2 Sep 2007 13:42:11 +0000 (13:42 +0000)]
- Allow port lists in url patterns.
- Ditch unused url_spec member pathlen.

17 years agoRemove newline at the end of a log_error() message.
Fabian Keil [Sun, 2 Sep 2007 12:44:17 +0000 (12:44 +0000)]
Remove newline at the end of a log_error() message.

17 years agoStop disabling actions here, they are off by default.
Fabian Keil [Sat, 1 Sep 2007 11:06:04 +0000 (11:06 +0000)]
Stop disabling actions here, they are off by default.
Read the proposal on ijbswa-developers@ for details.

17 years agoA bunch of whitespace fixes, pointy hat to me.
Fabian Keil [Tue, 28 Aug 2007 18:21:03 +0000 (18:21 +0000)]
A bunch of whitespace fixes, pointy hat to me.

17 years agoFix possible memory corruption in server_http, make sure it's not
Fabian Keil [Tue, 28 Aug 2007 18:16:32 +0000 (18:16 +0000)]
Fix possible memory corruption in server_http, make sure it's not
executed for ordinary server headers and mark some problems for later.

17 years agoFix --pre-chroot-nslookup description which I failed to
Fabian Keil [Mon, 27 Aug 2007 16:09:55 +0000 (16:09 +0000)]
Fix --pre-chroot-nslookup description which I failed to
copy and paste properly. Reported by Stephen Gildea.

17 years agoAdd Stephen Gildea's --pre-chroot-nslookup patch [#1276666],
Fabian Keil [Sun, 26 Aug 2007 16:47:14 +0000 (16:47 +0000)]
Add Stephen Gildea's --pre-chroot-nslookup patch [#1276666],
extensive comments moved to user manual.

17 years agoMinor rewordings and fixes.
Fabian Keil [Sun, 26 Aug 2007 14:59:49 +0000 (14:59 +0000)]
Minor rewordings and fixes.

17 years agoDon't crash if a broken header filter wiped out the request line.
Fabian Keil [Sat, 25 Aug 2007 14:42:40 +0000 (14:42 +0000)]
Don't crash if a broken header filter wiped out the request line.

17 years agoFix byte_count calculation in case of flushes
Fabian Keil [Mon, 20 Aug 2007 17:09:32 +0000 (17:09 +0000)]
Fix byte_count calculation in case of flushes
and don't parse the server headers a second time.

17 years ago- If there's a connection problem after we already forwarded
Fabian Keil [Sun, 19 Aug 2007 13:13:31 +0000 (13:13 +0000)]
- If there's a connection problem after we already forwarded
  parts of the original content, just hang up. Fixes BR#1776724.
- Fix warnings about unused code on mingw32.
- In case of flushes, calculate the byte count
  less incorrectly (I think).

17 years agoFix a conversion warning.
Fabian Keil [Sun, 19 Aug 2007 12:32:34 +0000 (12:32 +0000)]
Fix a conversion warning.

17 years agoDitch hex_to_byte() in favour of xtoi().
Fabian Keil [Sat, 18 Aug 2007 14:37:27 +0000 (14:37 +0000)]
Ditch hex_to_byte() in favour of xtoi().

17 years agoMake xtoi() extern so it can be used in pcrs.c.
Fabian Keil [Sat, 18 Aug 2007 14:34:27 +0000 (14:34 +0000)]
Make xtoi() extern so it can be used in pcrs.c.

17 years agoLet content-type-overwrite{} honour force-text-mode again.
Fabian Keil [Sat, 18 Aug 2007 14:30:32 +0000 (14:30 +0000)]
Let content-type-overwrite{} honour force-text-mode again.

17 years agoAdd tribalfusion/ctxt which is just like intellitxt
hal9 [Fri, 17 Aug 2007 12:52:29 +0000 (12:52 +0000)]
Add tribalfusion/ctxt which is just like intellitxt

17 years agoAdd two fast-redirects exceptions.
Fabian Keil [Wed, 15 Aug 2007 17:22:20 +0000 (17:22 +0000)]
Add two fast-redirects exceptions.

17 years ago- Complete the changes from r1.42.
Fabian Keil [Sat, 11 Aug 2007 16:54:12 +0000 (16:54 +0000)]
- Complete the changes from r1.42.
- Make crude-parental less sensitive to the amount of white-space,
  add the note that it doesn't work too well again and replace the
  DMOZ link with a less confusing explanation.

17 years ago- Add prototpyes for the header parsers and make them static.
Fabian Keil [Sat, 11 Aug 2007 14:49:49 +0000 (14:49 +0000)]
- Add prototpyes for the header parsers and make them static.
- Comment out client_accept_encoding_adder() which isn't used right now.

17 years agoRemove the prototypes for functions that are only
Fabian Keil [Sat, 11 Aug 2007 14:47:26 +0000 (14:47 +0000)]
Remove the prototypes for functions that are only
used in parsers.c and thus should be static.

17 years agoAdd some more prototypes for static functions.
Fabian Keil [Sat, 11 Aug 2007 14:43:22 +0000 (14:43 +0000)]
Add some more prototypes for static functions.

17 years ago- Don't claim that thousands of people read our code.
Fabian Keil [Sun, 5 Aug 2007 15:37:55 +0000 (15:37 +0000)]
- Don't claim that thousands of people read our code.
- Specify the GPL version and link to GPLv2 instead of v3.
- Note that configuration syntax may change between releases.
- Mention zlib support.
- Answer the "transparent proxy" question properly.
- Add "intercepting proxy" entry.
- Mention Polipo.
- Rephrase some other sentences for various reasons.

17 years ago- Don't claim HTTP/1.1 compliance.
Fabian Keil [Sun, 5 Aug 2007 15:19:50 +0000 (15:19 +0000)]
- Don't claim HTTP/1.1 compliance.
- Use $ in some of the path pattern examples.
- Use a hide-user-agent example argument without
  leading and trailing space.
- Make it clear that the cookie actions work with
  HTTP cookies only.
- Rephrase the inspect-jpegs text to underline
  that it's only meant to protect against a single
  exploit.

17 years ago#1763173 from Stefan Huehner: declare unload_configfile() static.
Fabian Keil [Sun, 5 Aug 2007 14:02:09 +0000 (14:02 +0000)]
#1763173 from Stefan Huehner: declare unload_configfile() static.

17 years agoComment out request_contains_null_bytes() until it's used again.
Fabian Keil [Sun, 5 Aug 2007 13:58:19 +0000 (13:58 +0000)]
Comment out request_contains_null_bytes() until it's used again.

17 years ago#1763173 from Stefan Huehner: declare some more functions
Fabian Keil [Sun, 5 Aug 2007 13:53:14 +0000 (13:53 +0000)]
#1763173 from Stefan Huehner: declare some more functions
static and use void instead of empty parameter lists.

17 years ago#1763173 from Stefan Huehner: s@const static@static const@
Fabian Keil [Sun, 5 Aug 2007 13:50:26 +0000 (13:50 +0000)]
#1763173 from Stefan Huehner: s@const static@static const@
and declare some more functions static.

17 years ago#1763173 from Stefan Huehner: s@const static@static const@.
Fabian Keil [Sun, 5 Aug 2007 13:47:04 +0000 (13:47 +0000)]
#1763173 from Stefan Huehner: s@const static@static const@.

17 years ago#1763173 from Stefan Huehner: declare some more functions static.
Fabian Keil [Sun, 5 Aug 2007 13:42:23 +0000 (13:42 +0000)]
#1763173 from Stefan Huehner: declare some more functions static.

17 years agoUse strlcpy() instead of strcpy().
Fabian Keil [Sat, 4 Aug 2007 10:15:51 +0000 (10:15 +0000)]
Use strlcpy() instead of strcpy().

17 years ago- Log rejected CONNECT requests with LOG_LEVEL_INFO
Fabian Keil [Sat, 4 Aug 2007 09:56:23 +0000 (09:56 +0000)]
- Log rejected CONNECT requests with LOG_LEVEL_INFO
  and explain why they were rejected in the first place.
- Fix the LOG_LEVEL_CLF message for crunches of unallowed
  CONNECT requests. The request line was missing.
- Add two more XXX reminders as we don't have enough already.

17 years agoBroadening scope of bwp.* ads.
hal9 [Thu, 2 Aug 2007 10:48:55 +0000 (10:48 +0000)]
Broadening scope of bwp.* ads.

17 years agoReplaced missing .microsoft.com/.*/adschema/
proactivesvcs [Tue, 31 Jul 2007 07:16:08 +0000 (07:16 +0000)]
Replaced missing .microsoft.com/.*/adschema/

17 years agoMove the method check into unknown_method()
Fabian Keil [Mon, 30 Jul 2007 16:42:21 +0000 (16:42 +0000)]
Move the method check into unknown_method()
and loop through the known methods instead
of using a screen-long OR chain.

17 years agoAddition to rule covering tracker #1637648
proactivesvcs [Mon, 30 Jul 2007 15:47:11 +0000 (15:47 +0000)]
Addition to rule covering tracker #1637648

17 years agoModified patch from Song Weijia (#1762559) to
Fabian Keil [Sat, 28 Jul 2007 12:30:04 +0000 (12:30 +0000)]
Modified patch from Song Weijia (#1762559) to
fix socks requests on big-endian platforms.

17 years agoAdd references for user-agent strings for hide-user-agenet
hal9 [Fri, 27 Jul 2007 10:57:35 +0000 (10:57 +0000)]
Add references for user-agent strings for hide-user-agenet

17 years agoActionsfile feedback item #1757121 2007-07-19: .microsoft.com/.*/adschema/
hal9 [Mon, 23 Jul 2007 10:36:16 +0000 (10:36 +0000)]
Actionsfile feedback item #1757121 2007-07-19: .microsoft.com/.*/adschema/

17 years agoIf show-url-info is called with an URL that Privoxy
Fabian Keil [Sat, 21 Jul 2007 12:19:50 +0000 (12:19 +0000)]
If show-url-info is called with an URL that Privoxy
would reject as invalid, don't show unresolved forwarding
variables, "final matches" or claim the site's secure.

17 years agoMention new config option "allow-cgi-request-crunching".
Fabian Keil [Sat, 21 Jul 2007 11:53:40 +0000 (11:53 +0000)]
Mention new config option "allow-cgi-request-crunching".

17 years agoAs Hal noticed, checking dispatch_cgi() as the last cruncher
Fabian Keil [Sat, 21 Jul 2007 11:51:36 +0000 (11:51 +0000)]
As Hal noticed, checking dispatch_cgi() as the last cruncher
looks like a bug if CGI requests are blocked unintentionally,
so don't do it unless the user enabled the new config option
"allow-cgi-request-crunching".

17 years agoSubmit new version of manual so some of Fabians work has some documentation.
hal9 [Wed, 18 Jul 2007 22:48:10 +0000 (22:48 +0000)]
Submit new version of manual so some of Fabians work has some documentation.

17 years agoReplace notarget with '' in all popups filter to keep from breaking xhmtl per
hal9 [Wed, 18 Jul 2007 11:06:56 +0000 (11:06 +0000)]
Replace notarget with '' in all popups filter to keep from breaking xhmtl per
report from Siegfried Gipp.

17 years agoAdd misc note about valid mark-up in Privoxy.
hal9 [Wed, 18 Jul 2007 11:00:34 +0000 (11:00 +0000)]
Add misc note about valid mark-up in Privoxy.

17 years agos@failiure@failure@
Fabian Keil [Sat, 14 Jul 2007 08:01:58 +0000 (08:01 +0000)]
s@failiure@failure@

17 years agoAdd destination rewriting and the fix for BR#1750917.
Fabian Keil [Sat, 14 Jul 2007 07:56:51 +0000 (07:56 +0000)]
Add destination rewriting and the fix for BR#1750917.

17 years ago- Allow to rewrite the request destination behind the client's back.
Fabian Keil [Sat, 14 Jul 2007 07:46:41 +0000 (07:46 +0000)]
- Allow to rewrite the request destination behind the client's back.
- Turn the weird-looking unconditional for loop that
  reads the client request into a conditional while loop.
  Move the stuff that only runs once out of the loop.
- Move parts of chat(), server_content_type() and the
  necessary stuff to fix BR#1750917 into get_filter_function().

17 years agoMove the ACTION_FORCE_TEXT_MODE check out of
Fabian Keil [Sat, 14 Jul 2007 07:38:19 +0000 (07:38 +0000)]
Move the ACTION_FORCE_TEXT_MODE check out of
server_content_type(). Signal other functions
whether or not a content type has been declared.
Part of the fix for BR#1750917.

17 years agoAdd new csp->content_type flag (CT_DECLARED).
Fabian Keil [Sat, 14 Jul 2007 07:31:26 +0000 (07:31 +0000)]
Add new csp->content_type flag (CT_DECLARED).

17 years agoAdd translation function for JB_ERR_FOO codes.
Fabian Keil [Sat, 14 Jul 2007 07:28:47 +0000 (07:28 +0000)]
Add translation function for JB_ERR_FOO codes.

17 years agoclickdensity.com JS tracking
proactivesvcs [Wed, 11 Jul 2007 11:04:56 +0000 (11:04 +0000)]
clickdensity.com JS tracking

17 years agoparcelforce.com delivery tracker unblocker
proactivesvcs [Wed, 11 Jul 2007 06:58:16 +0000 (06:58 +0000)]
parcelforce.com delivery tracker unblocker

17 years agoatdmt.com amendment per Actionsfile feedback #1751020
proactivesvcs [Tue, 10 Jul 2007 09:29:53 +0000 (09:29 +0000)]
atdmt.com amendment per Actionsfile feedback #1751020
mediaplex.com amendment per Actionsfile feedback #1749013

Removed duplicated view.atdmt.com, obsolete view.atdmt.com, obsolete web.archive.org

17 years agoFine tune the unblock for Adiumx.
hal9 [Mon, 9 Jul 2007 22:20:30 +0000 (22:20 +0000)]
Fine tune the unblock for Adiumx.

17 years agoAdd img.direttrack.com per Actionsfile feedback item #1749870.
hal9 [Sun, 8 Jul 2007 11:06:36 +0000 (11:06 +0000)]
Add img.direttrack.com per Actionsfile feedback item #1749870.

17 years agoAdd limited hex notation support for the PCRS
Fabian Keil [Sun, 1 Jul 2007 13:29:54 +0000 (13:29 +0000)]
Add limited hex notation support for the PCRS
substitution text ('\x7e' = '~'). Closes #1627140.

17 years ago#ifdef _WIN32 the last commit. According to David Shaw,
Fabian Keil [Sun, 17 Jun 2007 16:12:22 +0000 (16:12 +0000)]
#ifdef _WIN32 the last commit. According to David Shaw,
one of the gnupg developers, the changes are mingw32-specific.

17 years agoNew block for bwp.zdnet. per feedback request.
hal9 [Fri, 15 Jun 2007 11:01:27 +0000 (11:01 +0000)]
New block for bwp.zdnet. per feedback request.

17 years agoAdd block for js.adsonar.com per feedback request.
hal9 [Thu, 14 Jun 2007 10:53:02 +0000 (10:53 +0000)]
Add block for js.adsonar.com per feedback request.

17 years agoLinuxinsider banner ads.
hal9 [Wed, 13 Jun 2007 10:26:26 +0000 (10:26 +0000)]
Linuxinsider banner ads.

17 years agoChange replacement timegm() to better match our style, plug a small
Fabian Keil [Sun, 10 Jun 2007 14:59:59 +0000 (14:59 +0000)]
Change replacement timegm() to better match our style, plug a small
but guaranteed memory leak and fix "time zone breathing" on mingw32.

17 years agoAdd /usr/xpg4/bin to the PATH to make sure the POSIX
Fabian Keil [Sat, 9 Jun 2007 12:35:54 +0000 (12:35 +0000)]
Add /usr/xpg4/bin to the PATH to make sure the POSIX
version of id is used on Solaris. Closes BR#1733788.
Thanks to Brent Chivers for report and fix.

17 years agoApply Roland's 29_usermanual.dpatch to fix a bunch
Fabian Keil [Thu, 7 Jun 2007 12:36:22 +0000 (12:36 +0000)]
Apply Roland's 29_usermanual.dpatch to fix a bunch
of syntax errors I collected over the last months.

17 years agoAdd changes from 3.0.6-2, 3.0.6-3 and several unreleased changes
Roland Rosenfeld [Thu, 7 Jun 2007 10:41:02 +0000 (10:41 +0000)]
Add changes from 3.0.6-2, 3.0.6-3 and several unreleased changes
according to CVS as of 2007-06-07.

17 years agoTemporary workaround for BR#1730105.
Fabian Keil [Sun, 3 Jun 2007 18:45:18 +0000 (18:45 +0000)]
Temporary workaround for BR#1730105.

17 years agoAdd various changes made in the last three months.
Fabian Keil [Sat, 2 Jun 2007 14:05:07 +0000 (14:05 +0000)]
Add various changes made in the last three months.

17 years agoStart to document forward-override{}.
Fabian Keil [Sat, 2 Jun 2007 14:01:37 +0000 (14:01 +0000)]
Start to document forward-override{}.

17 years agoUse the same mutex for gethostbyname() and gethostbyaddr() to prevent
Fabian Keil [Fri, 1 Jun 2007 18:16:36 +0000 (18:16 +0000)]
Use the same mutex for gethostbyname() and gethostbyaddr() to prevent
deadlocks and crashes on OpenBSD and possibly other OS with neither
gethostbyname_r() nor gethostaddr_r(). Closes BR#1729174.
Thanks to Ralf Horstmann for report and solution.

17 years agoAdd forward-override{} to change the forwarding settings through
Fabian Keil [Fri, 1 Jun 2007 16:54:28 +0000 (16:54 +0000)]
Add forward-override{} to change the forwarding settings through
action sections. This is mainly interesting to forward different
clients differently (for example based on User-Agent or request
origin).

17 years agoAdjust cgi_show_url_info() to show what forward-override{}
Fabian Keil [Fri, 1 Jun 2007 16:53:05 +0000 (16:53 +0000)]
Adjust cgi_show_url_info() to show what forward-override{}
would do with the requested URL (instead of showing how the
request for the CGI page would be forwarded if it wasn't a
CGI request).

17 years agoAdd forward-override{} to change the forwarding settings through
Fabian Keil [Fri, 1 Jun 2007 16:41:11 +0000 (16:41 +0000)]
Add forward-override{} to change the forwarding settings through
action sections. This is mainly interesting to forward different
clients differently (for example based on User-Agent or request
origin).

17 years agoChange sed() to return a jb_err in preparation for forward-override{}.
Fabian Keil [Fri, 1 Jun 2007 16:31:55 +0000 (16:31 +0000)]
Change sed() to return a jb_err in preparation for forward-override{}.