privoxy.git
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.

15 years agoUpdate the google filter to remove the width restrictions again.
Fabian Keil [Sat, 3 Oct 2009 10:40:05 +0000 (10:40 +0000)]
Update the google filter to remove the width restrictions again.

15 years agoUpdate the yahoo 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.

15 years agoUpdate the msn 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.

15 years agoStreamline remember_connection()'s prototype.
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.

15 years agoDisable the jumping-windows filter for openstreetmap.org.
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.

15 years agoAnd by 'latency' we don't mean the round trip time.
Fabian Keil [Thu, 1 Oct 2009 16:07:34 +0000 (16:07 +0000)]
And by 'latency' we don't mean the round trip time.

15 years agoIn execute_regression_test(), use a dispatch hash instead a bunch of ifs.
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.

15 years agoRedirect-test related cosmetics.
Fabian Keil [Thu, 1 Oct 2009 15:05:26 +0000 (15:05 +0000)]
Redirect-test related cosmetics.

15 years agoLet the yahoo filter hide elements with the id 'sponsored-links'.
Fabian Keil [Thu, 1 Oct 2009 15:04:52 +0000 (15:04 +0000)]
Let the yahoo filter hide elements with the id 'sponsored-links'.

They are used on news.yahoo.com.

15 years agoRemove the useless revision log, thus shortening the file by 30%.
Fabian Keil [Sat, 26 Sep 2009 17:21:01 +0000 (17:21 +0000)]
Remove the useless revision log, thus shortening the file by 30%.

15 years agoRemove a bunch of noop dist targets that have been 'coming soon' for years.
Fabian Keil [Sat, 26 Sep 2009 17:13:02 +0000 (17:13 +0000)]
Remove a bunch of noop dist targets that have been 'coming soon' for years.

15 years agoRemove obsolete redhat, suse and connectiva targets.
Fabian Keil [Sat, 26 Sep 2009 17:12:19 +0000 (17:12 +0000)]
Remove obsolete redhat, suse and connectiva targets.

15 years agoRemove the SuSE spec file and init script.
Fabian Keil [Sat, 26 Sep 2009 16:49:21 +0000 (16:49 +0000)]
Remove the SuSE spec file and init script.

SuSE RPM support is death, too.

15 years agoRemove obsolete and unmaintained Redhat spec files and scripts.
Fabian Keil [Sat, 26 Sep 2009 16:45:34 +0000 (16:45 +0000)]
Remove obsolete and unmaintained Redhat spec files and scripts.

We stopped providing and supporting Redhat RPMs quite a while ago.

15 years agoRemove obsolete and unmaintained VC project files.
Fabian Keil [Sat, 26 Sep 2009 16:39:50 +0000 (16:39 +0000)]
Remove obsolete and unmaintained VC project files.

They only cause confusion.

15 years agoIn receive_client_request(), mark the server socket tainted if get_request_line(...
Fabian Keil [Sat, 26 Sep 2009 13:32:35 +0000 (13:32 +0000)]
In receive_client_request(), mark the server socket tainted if get_request_line() fails.

15 years agoIn read_config_line(), turn overly long lines into fatal errors.
Fabian Keil [Sat, 26 Sep 2009 13:29:57 +0000 (13:29 +0000)]
In read_config_line(), turn overly long lines into fatal errors.

Seems more reasonable than silently discarding data or triggering an assertion.

15 years agoFix a log message in get_reusable_connection(). A blank was missing.
Fabian Keil [Tue, 22 Sep 2009 11:35:52 +0000 (11:35 +0000)]
Fix a log message in get_reusable_connection(). A blank was missing.

15 years agoRemove the undocumented and useless --statistic option.
Fabian Keil [Tue, 22 Sep 2009 11:33:23 +0000 (11:33 +0000)]
Remove the undocumented and useless --statistic option.

The log level distribution no longer matters.

15 years agoDon't bother remembering connections that already timed out.
Fabian Keil [Fri, 18 Sep 2009 18:57:20 +0000 (18:57 +0000)]
Don't bother remembering connections that already timed out.

While remembering them is safe as they wouldn't be reused
anyway, it's pointless, causes log noise and temporarily
blocks a socket slot.

15 years agoIn serve(), make the latency loop-local and actually calculate it. Oops.
Fabian Keil [Fri, 18 Sep 2009 18:52:33 +0000 (18:52 +0000)]
In serve(), make the latency loop-local and actually calculate it. Oops.

In other words: Revision 270. Once more, with feeling.

15 years agoCosmetics and spelling fixes for the previous commit.
Fabian Keil [Fri, 18 Sep 2009 18:25:46 +0000 (18:25 +0000)]
Cosmetics and spelling fixes for the previous commit.

15 years agoAdd redirect tests for already existing sections using +redirect{}.
Fabian Keil [Fri, 18 Sep 2009 17:33:02 +0000 (17:33 +0000)]
Add redirect tests for already existing sections using +redirect{}.

15 years agoImplement redirect tests. Their default level is 8.
Fabian Keil [Fri, 18 Sep 2009 17:30:59 +0000 (17:30 +0000)]
Implement redirect tests. Their default level is 8.

Redirect tests verify that a given URL is redirected
to a specified other one. Previously we only had sticky
actions which can be used to check if a redirect action
shows up in the final results, but not what the effect is.

Redirect tests can also be leveraged to verify pcrs commands.

15 years agoHighlight: Done reading from server. Content length: 6018 as expected. Bytes most...
Fabian Keil [Sat, 12 Sep 2009 12:38:14 +0000 (12:38 +0000)]
Highlight: Done reading from server. Content length: 6018 as expected. Bytes most recently read: 294.

15 years agoMake it easier to figure out whether or not the actual content length equals the...
Fabian Keil [Sat, 12 Sep 2009 12:37:37 +0000 (12:37 +0000)]
Make it easier to figure out whether or not the actual content length equals the one we expected.

15 years agoAccept and ignore: Stopping to watch the client socket. There's already another reque...
Fabian Keil [Sat, 12 Sep 2009 12:36:53 +0000 (12:36 +0000)]
Accept and ignore: Stopping to watch the client socket. There's already another request waiting.

15 years agoAccept and highlight: The client closed socket 2 while the server socket 4 is still...
Fabian Keil [Sat, 12 Sep 2009 12:36:02 +0000 (12:36 +0000)]
Accept and highlight: The client closed socket 2 while the server socket 4 is still open.

15 years agoTurn mark_server_socket_tainted() into a nop if the server socket is already tainted.
Fabian Keil [Sat, 12 Sep 2009 12:35:14 +0000 (12:35 +0000)]
Turn mark_server_socket_tainted() into a nop if the server socket is already tainted.

Tainting it twice doesn't hurt, but logging the same message twice is pointless.

15 years agoIf we got a complete client request, keep watching the client socket until the next...
Fabian Keil [Sat, 12 Sep 2009 12:32:26 +0000 (12:32 +0000)]
If we got a complete client request, keep watching the client socket until the next one arrives.

Improves the chances that we notice if the client socket gets
closed before the whole server response has been received.

15 years agoFix recently committed block test.
Fabian Keil [Fri, 11 Sep 2009 18:15:19 +0000 (18:15 +0000)]
Fix recently committed block test.

15 years agoHighlight the assumed latency, too.
Fabian Keil [Thu, 10 Sep 2009 15:03:20 +0000 (15:03 +0000)]
Highlight the assumed latency, too.

15 years agoAdjustments for recently changed log messages.
Fabian Keil [Thu, 10 Sep 2009 15:02:25 +0000 (15:02 +0000)]
Adjustments for recently changed log messages.

15 years agoAdd trailing dot in a log message in close_unusable_connections().
Fabian Keil [Thu, 10 Sep 2009 14:59:34 +0000 (14:59 +0000)]
Add trailing dot in a log message in close_unusable_connections().

15 years agolen refers to the number of bytes actually read which might differ from the ones...
Fabian Keil [Thu, 10 Sep 2009 14:58:54 +0000 (14:58 +0000)]
len refers to the number of bytes actually read which might differ from the ones received. Adjust log messages accordingly.

15 years agoAlso peek in data_is_available().
Fabian Keil [Thu, 10 Sep 2009 14:53:34 +0000 (14:53 +0000)]
Also peek in data_is_available().

Pointed out by Lee a while ago.

15 years agoIn the Argv declaration, move the const qualifier to the right place.
Fabian Keil [Thu, 10 Sep 2009 14:45:17 +0000 (14:45 +0000)]
In the Argv declaration, move the const qualifier to the right place.

15 years agoDon't constify argv in the main() and real_main() prototypes.
Fabian Keil [Thu, 10 Sep 2009 14:42:01 +0000 (14:42 +0000)]
Don't constify argv in the main() and real_main() prototypes.

Could silence a mingw32 compiler warning.

15 years agoFix recently introduced compiler warnings on amd64.
Fabian Keil [Wed, 9 Sep 2009 17:12:08 +0000 (17:12 +0000)]
Fix recently introduced compiler warnings on amd64.

15 years agoactionsfile tracker ID: 2838501
Lee [Mon, 7 Sep 2009 19:13:58 +0000 (19:13 +0000)]
actionsfile tracker ID: 2838501
http://new.meteo.pl does not work via Privoxy.

15 years agofix for problem playing videos on nfl.com & bbc.co.uk
Lee [Mon, 7 Sep 2009 18:35:04 +0000 (18:35 +0000)]
fix for problem playing videos on nfl.com & bbc.co.uk
block bcc.co.uk - nothing but ads

15 years agoAdd a bit more details for the "pipe into external programs" item.
Fabian Keil [Sun, 6 Sep 2009 17:20:31 +0000 (17:20 +0000)]
Add a bit more details for the "pipe into external programs" item.

15 years agoRemove a superfluous debug message in chat().
Fabian Keil [Sun, 6 Sep 2009 17:11:45 +0000 (17:11 +0000)]
Remove a superfluous debug message in chat().

15 years agoFix gcc45 on amd64 warning.
Fabian Keil [Sun, 6 Sep 2009 15:22:31 +0000 (15:22 +0000)]
Fix gcc45 on amd64 warning.

15 years agoUse encodeURIComponent() instead of escape() which doesn't encode all characters...
Fabian Keil [Sun, 6 Sep 2009 15:07:55 +0000 (15:07 +0000)]
Use encodeURIComponent() instead of escape() which doesn't encode all characters we care about.

Anonymously reported in #2832722.

15 years agoShow status of CONNECTION_SHARING support on the show-status page.
Fabian Keil [Sun, 6 Sep 2009 14:18:35 +0000 (14:18 +0000)]
Show status of CONNECTION_SHARING support on the show-status page.

15 years agoEnable FEATURE_CONNECTION_KEEP_ALIVE unconditionally. Enable FEATURE_CONNECTION_SHARI...
Fabian Keil [Sun, 6 Sep 2009 14:17:00 +0000 (14:17 +0000)]
Enable FEATURE_CONNECTION_KEEP_ALIVE unconditionally. Enable FEATURE_CONNECTION_SHARING on platforms with supported mutexes.

15 years agoDisable connection-sharing unless FEATURE_CONNECTION_SHARING is defined.
Fabian Keil [Sun, 6 Sep 2009 14:15:46 +0000 (14:15 +0000)]
Disable connection-sharing unless FEATURE_CONNECTION_SHARING is defined.

15 years agoIn get_content_length(), add a sanity check for mingw32.
Fabian Keil [Sun, 6 Sep 2009 14:11:06 +0000 (14:11 +0000)]
In get_content_length(), add a sanity check for mingw32.

15 years agoFactor get_content_length() out of client_save_content_length() and server_save_conte...
Fabian Keil [Sun, 6 Sep 2009 14:10:07 +0000 (14:10 +0000)]
Factor get_content_length() out of client_save_content_length() and server_save_content_length().

15 years agoIn get_reusable_connection(), also log when the timestamp was made, the timeout and...
Fabian Keil [Sun, 6 Sep 2009 14:09:19 +0000 (14:09 +0000)]
In get_reusable_connection(), also log when the timestamp was made, the timeout and the assumed latency.

15 years agoIn serve(), don't bother assuming a timeout value if we aren't going to reuse the...
Fabian Keil [Sun, 6 Sep 2009 14:07:56 +0000 (14:07 +0000)]
In serve(), don't bother assuming a timeout value if we aren't going to reuse the connection anyway.

While it didn't hurt, the log message looked somewhat stupid.

15 years agoSimplify the initial byte_count calculation to get rid of the lame workaround added...
Fabian Keil [Sat, 5 Sep 2009 18:04:37 +0000 (18:04 +0000)]
Simplify the initial byte_count calculation to get rid of the lame workaround added in the previous commit.

15 years agoIn chat(), reset byte_count each time we are buffering additional server headers.
Fabian Keil [Fri, 4 Sep 2009 18:28:32 +0000 (18:28 +0000)]
In chat(), reset byte_count each time we are buffering additional server headers.

We otherwise seem to miscalculate it, if we don't get the whole head in two reads or less.
This is another attempt to fix #2840156 reported by Olivier.
It's not a permanent solution but should do for now.

15 years agoDon't miscalculate byte_count when buffering server headers without any complete...
Fabian Keil [Fri, 28 Aug 2009 15:45:18 +0000 (15:45 +0000)]
Don't miscalculate byte_count when buffering server headers without any complete server header read yet.

Likely to fix #2840156 reported by Oliver.

15 years agoFactor verify_request_length() out of parse_client_request().
Fabian Keil [Fri, 28 Aug 2009 14:42:06 +0000 (14:42 +0000)]
Factor verify_request_length() out of parse_client_request().

While at it, check the request length for all but CONNECT requests,
independently of CSP_FLAG_CLIENT_CONNECTION_KEEP_ALIVE.

15 years agoAccept and highlight: Reduced expected bytes to 0 to account for the 1542 ones we...
Fabian Keil [Thu, 20 Aug 2009 15:43:56 +0000 (15:43 +0000)]
Accept and highlight: Reduced expected bytes to 0 to account for the 1542 ones we already got.

15 years agoRemove redundant log message in client_save_content_length().
Fabian Keil [Thu, 20 Aug 2009 15:27:03 +0000 (15:27 +0000)]
Remove redundant log message in client_save_content_length().

15 years agoHighlight: Empty server or forwarder response received on socket 4.
Fabian Keil [Thu, 20 Aug 2009 14:19:52 +0000 (14:19 +0000)]
Highlight: Empty server or forwarder response received on socket 4.

15 years agoAccept and ignore: There might be a request body. The connection will not be kept...
Fabian Keil [Thu, 20 Aug 2009 14:18:27 +0000 (14:18 +0000)]
Accept and ignore: There might be a request body. The connection will not be kept alive.

15 years agoIn chat(), set CSP_FLAG_CLIENT_REQUEST_COMPLETELY_READ after csp->expected_client_con...
Fabian Keil [Wed, 19 Aug 2009 16:02:53 +0000 (16:02 +0000)]
In chat(), set CSP_FLAG_CLIENT_REQUEST_COMPLETELY_READ after csp->expected_client_content_length reaches zero so we don't have to deal with the next request until we're ready again.

15 years agoSubtract already buffered request bytes from the expected ones and throw away overrea...
Fabian Keil [Wed, 19 Aug 2009 16:00:07 +0000 (16:00 +0000)]
Subtract already buffered request bytes from the expected ones and throw away overread bytes in pipelined requests with body to let the client retry on an untainted socket.

15 years agoIf the client specified a content length, assume that there will be a body and don...
Fabian Keil [Wed, 19 Aug 2009 15:59:02 +0000 (15:59 +0000)]
If the client specified a content length, assume that there will be a body and don't bother reading more than the client announced.

15 years agoIn preparation to allow connection reuse after forwarding POST requests, save the...
Fabian Keil [Wed, 19 Aug 2009 15:57:13 +0000 (15:57 +0000)]
In preparation to allow connection reuse after forwarding POST requests, save the value of the Content-Length header sent by the client.

15 years agoFix gcc45 warning in pcrs_substitute().
Fabian Keil [Wed, 19 Aug 2009 15:28:08 +0000 (15:28 +0000)]
Fix gcc45 warning in pcrs_substitute().

15 years agoRemove bogus assertion in decompress_iob().
Fabian Keil [Wed, 19 Aug 2009 15:26:36 +0000 (15:26 +0000)]
Remove bogus assertion in decompress_iob().

Unsigned variables rarely become negative.

15 years agoFix gcc45 warnings in decompress_iob().
Fabian Keil [Wed, 19 Aug 2009 15:25:31 +0000 (15:25 +0000)]
Fix gcc45 warnings in decompress_iob().

15 years agoFix log message in case of DNS resolution problems in acl_addr().
Fabian Keil [Wed, 19 Aug 2009 15:24:30 +0000 (15:24 +0000)]
Fix log message in case of DNS resolution problems in acl_addr().

15 years agoFix gcc45 warning.
Fabian Keil [Wed, 19 Aug 2009 15:22:18 +0000 (15:22 +0000)]
Fix gcc45 warning.

15 years agoAdd redirect exceptions for some news sites linked from www.ni.dk.
Fabian Keil [Sat, 15 Aug 2009 16:24:39 +0000 (16:24 +0000)]
Add redirect exceptions for some news sites linked from ni.dk.

Anonymously reported in #2830392.

15 years agoMake a few domain patterns a bit more restrictive.
Fabian Keil [Sat, 15 Aug 2009 16:12:16 +0000 (16:12 +0000)]
Make a few domain patterns a bit more restrictive.

15 years agoUpdate the "Download recent releases" URL and fix the "Pictures of the Privoxy Team...
Fabian Keil [Sat, 1 Aug 2009 11:48:22 +0000 (11:48 +0000)]
Update the "Download recent releases" URL and fix the "Pictures of the Privoxy Team" URL.
privoxy.org redirects to www.privoxy.org anyway.

15 years agoFix server_set_cookie() description. The jarfile code is gone.
Fabian Keil [Sat, 1 Aug 2009 11:46:59 +0000 (11:46 +0000)]
Fix server_set_cookie() description. The jarfile code is gone.

15 years agoFix comment.
Fabian Keil [Sat, 1 Aug 2009 11:42:43 +0000 (11:42 +0000)]
Fix comment.

15 years agoBump version to 3.0.15 UNRELEASED.
Fabian Keil [Sat, 1 Aug 2009 11:41:58 +0000 (11:41 +0000)]
Bump version to 3.0.15 UNRELEASED.

15 years agoThis announcement is for 3.0.14 beta, not 3.0.13 beta.
Fabian Keil [Fri, 24 Jul 2009 14:15:10 +0000 (14:15 +0000)]
This announcement is for 3.0.14 beta, not 3.0.13 beta.

15 years agoRebuild for Privoxy 3.0.14 beta.
Fabian Keil [Fri, 24 Jul 2009 12:22:59 +0000 (12:22 +0000)]
Rebuild for Privoxy 3.0.14 beta.

15 years agoRemove duplicated period.
Fabian Keil [Fri, 24 Jul 2009 12:20:30 +0000 (12:20 +0000)]
Remove duplicated period.

15 years agoChange code status from BETA to beta.
Fabian Keil [Fri, 24 Jul 2009 11:48:08 +0000 (11:48 +0000)]
Change code status from BETA to beta.

15 years agoBump version for 3.0.14 beta.
Fabian Keil [Thu, 23 Jul 2009 15:16:16 +0000 (15:16 +0000)]
Bump version for 3.0.14 beta.

15 years agoDisarm the !socket_is_still_usable() check in chat() for mingw32 where it seems to...
Fabian Keil [Wed, 22 Jul 2009 22:31:54 +0000 (22:31 +0000)]
Disarm the !socket_is_still_usable() check in chat() for mingw32 where it seems to misfire.

Pointed out by Lee.

15 years agoLet socket_is_still_usable() properly report the socket status if there's data waiting.
Fabian Keil [Wed, 22 Jul 2009 22:27:16 +0000 (22:27 +0000)]
Let socket_is_still_usable() properly report the socket status if there's data waiting.

Pointed out by Lee.

15 years agoalso hilight
Lee [Tue, 21 Jul 2009 16:29:57 +0000 (16:29 +0000)]
also hilight
  Found reusable socket
  Created new connection
messages in the log console window.

15 years agoDisable content filtering for URLs ending in .ogg or ogv.
Fabian Keil [Tue, 21 Jul 2009 14:19:57 +0000 (14:19 +0000)]
Disable content filtering for URLs ending in .ogg or ogv.
Fixes #2816708 reported by cyberpatrol and Johan Brannlund.

15 years agoIgnore line feeds at the end of the message.
Fabian Keil [Tue, 21 Jul 2009 14:04:25 +0000 (14:04 +0000)]
Ignore line feeds at the end of the message.

15 years agoHighlight: Connect: to archiv.radiotux.de
Fabian Keil [Tue, 21 Jul 2009 13:55:59 +0000 (13:55 +0000)]
Highlight: Connect: to archiv.radiotux.de

15 years agoIf RUNTIME_FEATURE_CONNECTION_KEEP_ALIVE is disabled, don't let 'Connection: keep...
Fabian Keil [Sun, 19 Jul 2009 11:48:32 +0000 (11:48 +0000)]
If RUNTIME_FEATURE_CONNECTION_KEEP_ALIVE is disabled, don't let 'Connection: keep-alive' headers through.

15 years agoIf you're masking csp->flags with RUNTIME_FEATURE_CONNECTION_KEEP_ALIVE you're doing...
Fabian Keil [Sun, 19 Jul 2009 11:19:50 +0000 (11:19 +0000)]
If you're masking csp->flags with RUNTIME_FEATURE_CONNECTION_KEEP_ALIVE you're doing it wrong.

15 years agoIf connection-sharing is enabled but keep-alive-timeout isn't, log a warning and...
Fabian Keil [Sun, 19 Jul 2009 10:07:46 +0000 (10:07 +0000)]
If connection-sharing is enabled but keep-alive-timeout isn't, log a warning and disable it.