privoxy.git
11 years agoWhen closing the client socket in serve(), also log if a config file change has been...
Fabian Keil [Sun, 21 Oct 2012 12:51:07 +0000 (12:51 +0000)]
When closing the client socket in serve(), also log if a config file change has been detected

11 years agochat() with the client as long as the connection state allows it
Fabian Keil [Sun, 21 Oct 2012 12:50:46 +0000 (12:50 +0000)]
chat() with the client as long as the connection state allows it

Due to various changes in the past, the state of the
server connection is no longer relevant.

11 years agoRemove a pointless fflush() call in chat()
Fabian Keil [Sun, 21 Oct 2012 12:49:54 +0000 (12:49 +0000)]
Remove a pointless fflush() call in chat()

Flushing all streams pretty much all the time for no obvious
reason is ridiculous.

11 years agoSet the socket option SO_LINGER for the client socket in accept_connection()
Fabian Keil [Sun, 21 Oct 2012 12:44:58 +0000 (12:44 +0000)]
Set the socket option SO_LINGER for the client socket in accept_connection()

This should further reduce the chances of the client getting
an incomplete response, even though Privoxy wrote the whole
one to the socket.

11 years agoIn chat(), check for failed delivery of request headers and body separately
Fabian Keil [Sun, 21 Oct 2012 12:42:18 +0000 (12:42 +0000)]
In chat(), check for failed delivery of request headers and body separately

11 years agoUse a dedicated iob for the data read from the client
Fabian Keil [Sun, 21 Oct 2012 12:39:27 +0000 (12:39 +0000)]
Use a dedicated iob for the data read from the client

This is necessary to support client-side pipelining.

11 years agoUse IOB_RESET() in prepare_csp_for_next_request()
Fabian Keil [Sun, 21 Oct 2012 12:36:25 +0000 (12:36 +0000)]
Use IOB_RESET() in prepare_csp_for_next_request()

11 years agoLet IOB_RESET() take the iob to reset as argument
Fabian Keil [Sun, 21 Oct 2012 12:35:15 +0000 (12:35 +0000)]
Let IOB_RESET() take the iob to reset as argument

This allows it to be used for iobs other than csp->iob.

11 years agoRemove pre-3.0 compatibility goo which has been obolete for more than 10 years now
Fabian Keil [Sun, 21 Oct 2012 12:34:15 +0000 (12:34 +0000)]
Remove pre-3.0 compatibility goo which has been obolete for more than 10 years now

11 years agoDo not promise a logrotate script for Red-Hat-based systems
Fabian Keil [Sun, 21 Oct 2012 12:33:52 +0000 (12:33 +0000)]
Do not promise a logrotate script for Red-Hat-based systems

It has been garbage collected in 2009.

11 years agoClarify that the log detail of the Windows GUI log depends on the debug directive
Fabian Keil [Sun, 21 Oct 2012 12:33:27 +0000 (12:33 +0000)]
Clarify that the log detail of the Windows GUI log depends on the debug directive

11 years agoParse the Windows-specific toggles with parse_toggle_state() as well
Fabian Keil [Sun, 21 Oct 2012 12:32:21 +0000 (12:32 +0000)]
Parse the Windows-specific toggles with parse_toggle_state() as well

11 years agoIn the redirect{} section, refer pcrs newbies to the 'filter file' section
Fabian Keil [Sun, 21 Oct 2012 12:31:59 +0000 (12:31 +0000)]
In the redirect{} section, refer pcrs newbies to the 'filter file' section

11 years agoUse the correct type for reusable_connection.forwarder_type
Fabian Keil [Sun, 21 Oct 2012 12:31:21 +0000 (12:31 +0000)]
Use the correct type for reusable_connection.forwarder_type

11 years agoAccept and highlight: Continuing buffering server headers from socket 5. Bytes most...
Fabian Keil [Sun, 21 Oct 2012 12:30:51 +0000 (12:30 +0000)]
Accept and highlight: Continuing buffering server headers from socket 5. Bytes most recently read: 498.

11 years agoWhen logging the buffering of server headers in chat(), include their source
Fabian Keil [Sun, 21 Oct 2012 12:30:37 +0000 (12:30 +0000)]
When logging the buffering of server headers in chat(), include their source

11 years agoRename ACTION_NO_COOKIE_KEEP to ACTION_SESSION_COOKIES_ONLY to match the current...
Fabian Keil [Wed, 17 Oct 2012 18:19:59 +0000 (18:19 +0000)]
Rename ACTION_NO_COOKIE_KEEP to ACTION_SESSION_COOKIES_ONLY to match the current name of the action

11 years agoRename ACTION_NO_COOKIE_READ to ACTION_CRUNCH_OUTGOING_COOKIES to match the current...
Fabian Keil [Wed, 17 Oct 2012 18:19:29 +0000 (18:19 +0000)]
Rename ACTION_NO_COOKIE_READ to ACTION_CRUNCH_OUTGOING_COOKIES to match the current name of the action

11 years agoRename ACTION_NO_COOKIE_SET to ACTION_CRUNCH_INCOMING_COOKIES to match the current...
Fabian Keil [Wed, 17 Oct 2012 18:18:54 +0000 (18:18 +0000)]
Rename ACTION_NO_COOKIE_SET to ACTION_CRUNCH_INCOMING_COOKIES to match the current name of the action

11 years agoFix grammar in an error message in remember_connection()
Fabian Keil [Wed, 17 Oct 2012 18:13:26 +0000 (18:13 +0000)]
Fix grammar in an error message in remember_connection()

11 years agoUse strdup_or_die() in remember_connection()
Fabian Keil [Wed, 17 Oct 2012 18:11:40 +0000 (18:11 +0000)]
Use strdup_or_die() in remember_connection()

11 years agoFix latency calculation for shared connections
Fabian Keil [Wed, 17 Oct 2012 18:11:19 +0000 (18:11 +0000)]
Fix latency calculation for shared connections

It has been broken since I committed it with 1.57 in 2009.

The calculated latency for most connections would be 0 due to
remember_connection() always putting the timestamps in the
first slot. Oops.

11 years agoUse parse_toggle_state() to get the global_toggle_state
Fabian Keil [Wed, 17 Oct 2012 18:02:10 +0000 (18:02 +0000)]
Use parse_toggle_state() to get the global_toggle_state

11 years agoDowngrade two error messages in drain_and_close_socket() to LOG_LEVEL_CONNECT
Fabian Keil [Wed, 17 Oct 2012 18:01:34 +0000 (18:01 +0000)]
Downgrade two error messages in drain_and_close_socket() to LOG_LEVEL_CONNECT

The errors are expected if the connection is closed on the remote
end after drain_and_close_socket() confirmed that the socket is
still alive, but before it tries to drain it.

11 years agoFix a comment typo.
Fabian Keil [Fri, 12 Oct 2012 11:23:53 +0000 (11:23 +0000)]
Fix a comment typo.

11 years agoUse the shiny-new drain_and_close_socket() when closing client sockets in serve()
Fabian Keil [Fri, 12 Oct 2012 11:19:35 +0000 (11:19 +0000)]
Use the shiny-new drain_and_close_socket() when closing client sockets in serve()

Hopefully this fixes the page truncation issue reported
with Opera in #3464439.

11 years agoAdd drain_and_close_socket()
Fabian Keil [Fri, 12 Oct 2012 11:17:48 +0000 (11:17 +0000)]
Add drain_and_close_socket()

Apparently on some platforms immediately closing a client socket
with both unread and written-but-not-yet-transmitted data may result
in the connection being teared down prematurely, in which case
the client ends up with an incomplete response.

To prevent this, drain_and_close_socket() shuts down our side of
the connection (on platforms with shutdown()), drains the unread
data on the socket and finally calls close_socket().

I suspect that this was the main cause of the page truncation
issues reported with Opera in #3464439.

11 years agoDon't bother checking for strstr() as we have no fallback anyway
Fabian Keil [Fri, 12 Oct 2012 11:15:17 +0000 (11:15 +0000)]
Don't bother checking for strstr() as we have no fallback anyway

11 years agoSpread a AC_CHECK_FUNCS() line across one line per checked function to make future...
Fabian Keil [Fri, 12 Oct 2012 11:12:22 +0000 (11:12 +0000)]
Spread a AC_CHECK_FUNCS() line across one line per checked function to make future diffs more readable

11 years agoRemove two checks that were already commented out
Fabian Keil [Fri, 12 Oct 2012 11:11:42 +0000 (11:11 +0000)]
Remove two checks that were already commented out

11 years agoSpread the AC_CHECK_HEADERS() check across one line per header to make future diffs...
Fabian Keil [Fri, 12 Oct 2012 11:11:06 +0000 (11:11 +0000)]
Spread the AC_CHECK_HEADERS() check across one line per header to make future diffs more readable

11 years agoUpdate server_proxy_connection_adder()'s description to reflect reality
Fabian Keil [Fri, 12 Oct 2012 11:10:10 +0000 (11:10 +0000)]
Update server_proxy_connection_adder()'s description to reflect reality

11 years agoAdd DragonFly to the list of BSDs Privoxy is known to run on
Fabian Keil [Fri, 12 Oct 2012 11:09:27 +0000 (11:09 +0000)]
Add DragonFly to the list of BSDs Privoxy is known to run on

11 years agoAdd Haiku to the list of operating systems Privoxy is known to run on
Fabian Keil [Fri, 12 Oct 2012 11:08:55 +0000 (11:08 +0000)]
Add Haiku to the list of operating systems Privoxy is known to run on

11 years agoMove a variable declaration in parse_client_header_order() to the beginning of its...
Fabian Keil [Fri, 5 Oct 2012 12:16:23 +0000 (12:16 +0000)]
Move a variable declaration in parse_client_header_order() to the beginning of its code block

It's how we usually do it and is apparently also required
when compiling with gcc 2.95.

Initial patch submitted by Simon South in #3564815.

11 years agoMove a couple of variable declarations in get_last_url() to the beginning of their...
Fabian Keil [Fri, 5 Oct 2012 12:15:39 +0000 (12:15 +0000)]
Move a couple of variable declarations in get_last_url() to the beginning of their code block

It's how we usually do it and is apparently also required
when compiling with gcc 2.95.

Initial patch submitted by Simon South in #3564815.

11 years agoAdditional Haiku-specific improvements
Fabian Keil [Fri, 5 Oct 2012 12:14:33 +0000 (12:14 +0000)]
Additional Haiku-specific improvements

- Disable checks intended for multi-user systems
  (as Haiku is presently single-user).
- Group Haiku-specific settings in their own section,
  following the pattern for Solaris, OS/2 and AmigaOS
- Add additional library-related settings to remove
  the need for providing configure with custom LDFLAGS.

Submitted by Simon South in #3574538.

11 years agoSpell 'refresh-tags' correctly
Fabian Keil [Wed, 26 Sep 2012 15:20:54 +0000 (15:20 +0000)]
Spell 'refresh-tags' correctly

Reported by Don in #3571927.

11 years agoDocumentation for 3.0.19, regenerated with the modified tidy changes
Fabian Keil [Thu, 20 Sep 2012 11:22:20 +0000 (11:22 +0000)]
Documentation for 3.0.19, regenerated with the modified tidy changes

11 years agoBring back the body attributes now that tidy no longer messes them up
Fabian Keil [Thu, 20 Sep 2012 10:44:18 +0000 (10:44 +0000)]
Bring back the body attributes now that tidy no longer messes them up

Apparently they aren't entirely useless as they prevent
the Docbook mess from inserting other attributes.

11 years agoLeave it up to the user whether or not smart tags are inserted
Fabian Keil [Thu, 20 Sep 2012 10:43:41 +0000 (10:43 +0000)]
Leave it up to the user whether or not smart tags are inserted

11 years agoDitch pointless keywords. Search engines no longer need them.
Fabian Keil [Thu, 20 Sep 2012 10:43:11 +0000 (10:43 +0000)]
Ditch pointless keywords. Search engines no longer need them.

11 years agoRemove tidy's clean flag as it changes the scope of attributes
Fabian Keil [Thu, 20 Sep 2012 10:42:49 +0000 (10:42 +0000)]
Remove tidy's clean flag as it changes the scope of attributes

Link-specific colors end up being applied to all text.
Reported by Adam Piggott in #3569551.

11 years agoDitch obsolete body attributes
Fabian Keil [Thu, 20 Sep 2012 09:05:06 +0000 (09:05 +0000)]
Ditch obsolete body attributes

The style sheets are sufficient and the body attributes
didn't properly make it through the docbook/tidy chain,
causing link-specific attributes to be applied to all text.

Reported by Adam Piggott in #3569551.

11 years agoIn finish_http_response(), set 'Connection: close' after preventing pipelining
Fabian Keil [Tue, 18 Sep 2012 18:29:55 +0000 (18:29 +0000)]
In finish_http_response(), set 'Connection: close' after preventing pipelining

I missed the CGI parts when committing parsers.c v1.250.

11 years agoRevert an incorrect part of 1.250 that could result in two Connection headers being...
Fabian Keil [Tue, 18 Sep 2012 17:39:29 +0000 (17:39 +0000)]
Revert an incorrect part of 1.250 that could result in two Connection headers being sent

11 years agoOn Haiku, do not pass -lpthread to the compiler
Fabian Keil [Wed, 5 Sep 2012 08:40:59 +0000 (08:40 +0000)]
On Haiku, do not pass -lpthread to the compiler

Haiku's pthreads implementation is contained in its system library,
libroot, so no additional library needs to be searched.

Patch submitted by Simon South in #3564815.

11 years agoAccept and highlight: Accepted connection from 10.0.0.1 on socket 5
Fabian Keil [Tue, 4 Sep 2012 08:40:25 +0000 (08:40 +0000)]
Accept and highlight: Accepted connection from 10.0.0.1 on socket 5

11 years agoRelocate the connection-accepted message from listen_loop() to serve()
Fabian Keil [Tue, 4 Sep 2012 08:39:58 +0000 (08:39 +0000)]
Relocate the connection-accepted message from listen_loop() to serve()

This way it's printed by the thread that is actually serving the
connection which is nice when grepping for thread ids in log files.

While at it, use an upper-case first character which is more
consistent with the other log messages.

11 years agoStop suppressing messages about accepted client connections and highlight them properly
Fabian Keil [Tue, 4 Sep 2012 08:39:30 +0000 (08:39 +0000)]
Stop suppressing messages about accepted client connections and highlight them properly

11 years agoFix a comment in client_connection()
Fabian Keil [Tue, 4 Sep 2012 08:39:02 +0000 (08:39 +0000)]
Fix a comment in client_connection()

11 years agoAfter preventing the client from pipeling, don't signal keep-alive intentions
Fabian Keil [Tue, 4 Sep 2012 08:38:31 +0000 (08:38 +0000)]
After preventing the client from pipeling, don't signal keep-alive intentions

When looking at the response headers alone, it previously wasn't
obvious from the client's perspective that no additional responses
should be expected.

This might improve compatibility with Opera (#3464439).

11 years agoFigure out the request length before running sed()
Fabian Keil [Tue, 4 Sep 2012 08:37:51 +0000 (08:37 +0000)]
Figure out the request length before running sed()

We may want to adjust the Connection header based on the information.

11 years agoAdd get_expected_content_length()
Fabian Keil [Tue, 4 Sep 2012 08:33:31 +0000 (08:33 +0000)]
Add get_expected_content_length()

11 years agoLet get_content_length() use a header value as input instead of the whole header
Fabian Keil [Tue, 4 Sep 2012 08:32:32 +0000 (08:32 +0000)]
Let get_content_length() use a header value as input instead of the whole header

This makes it easier to use it in combination with get_header_value().

11 years agoNote that CSP_FLAG_SERVER_SOCKET_TAINTED is poorly named
Fabian Keil [Tue, 4 Sep 2012 08:32:03 +0000 (08:32 +0000)]
Note that CSP_FLAG_SERVER_SOCKET_TAINTED is poorly named

11 years agoBump generated Firefox version to 14.0.1
Fabian Keil [Tue, 4 Sep 2012 08:31:32 +0000 (08:31 +0000)]
Bump generated Firefox version to 14.0.1

11 years agoBlock g.adspeed.net/
Fabian Keil [Tue, 4 Sep 2012 08:31:12 +0000 (08:31 +0000)]
Block g.adspeed.net/

11 years agoAccept and highlight: Closing client socket 5. Keep-alive: 0, Socket alive: 1. Data...
Fabian Keil [Fri, 27 Jul 2012 17:42:39 +0000 (17:42 +0000)]
Accept and highlight: Closing client socket 5. Keep-alive: 0, Socket alive: 1. Data available: 0

11 years agoRemove #101: Forward known client headers in a predefined order
Fabian Keil [Fri, 27 Jul 2012 17:42:09 +0000 (17:42 +0000)]
Remove #101: Forward known client headers in a predefined order

The "predefined order" part is implemented and the randomization
no longer strikes me as useful.

11 years agoBump copyright
Fabian Keil [Fri, 27 Jul 2012 17:41:42 +0000 (17:41 +0000)]
Bump copyright

11 years agoMention the shiny new LOG_LEVEL_ACTIONS
Fabian Keil [Fri, 27 Jul 2012 17:41:10 +0000 (17:41 +0000)]
Mention the shiny new LOG_LEVEL_ACTIONS

11 years agoAccept the shiny new LOG_LEVEL_ACTIONS
Fabian Keil [Fri, 27 Jul 2012 17:40:31 +0000 (17:40 +0000)]
Accept the shiny new LOG_LEVEL_ACTIONS

11 years agoAdd LOG_LEVEL_ACTIONS to log the applying actions
Fabian Keil [Fri, 27 Jul 2012 17:39:57 +0000 (17:39 +0000)]
Add LOG_LEVEL_ACTIONS to log the applying actions

Unlike in the "Final results", the effect of tags is taken into account.

11 years agoAdd #106: actionlist.h should be embedded in a way that causes less text bloat
Fabian Keil [Fri, 27 Jul 2012 17:37:43 +0000 (17:37 +0000)]
Add #106: actionlist.h should be embedded in a way that causes less text bloat

11 years agoLet get_percentage() show 0 of x as 0% even if x is 0 as well
Fabian Keil [Fri, 27 Jul 2012 17:37:22 +0000 (17:37 +0000)]
Let get_percentage() show 0 of x as 0% even if x is 0 as well

11 years agoAccept and ignore: Enlisting (sorted|left-over) header ...
Fabian Keil [Fri, 27 Jul 2012 17:37:00 +0000 (17:37 +0000)]
Accept and ignore: Enlisting (sorted|left-over) header ...

11 years agoImplement the client-header-order directive
Fabian Keil [Fri, 27 Jul 2012 17:36:06 +0000 (17:36 +0000)]
Implement the client-header-order directive

It can be used to forward client headers in a different
order than they arrived.

11 years agoIn serve(), log the client socket and its condition before closing it
Fabian Keil [Fri, 27 Jul 2012 17:31:10 +0000 (17:31 +0000)]
In serve(), log the client socket and its condition before closing it

This makes it more obvious that the socket actually gets closed
and should help when diagnosing problems like #3464439.

11 years agoAdd debug_level_is_enabled()
Fabian Keil [Fri, 27 Jul 2012 17:27:47 +0000 (17:27 +0000)]
Add debug_level_is_enabled()

11 years agoBlock rotation.linuxnewmedia.com/
Fabian Keil [Fri, 27 Jul 2012 17:26:37 +0000 (17:26 +0000)]
Block rotation.linuxnewmedia.com/

11 years agoBlock reklamy.sfd.pl/
Fabian Keil [Fri, 27 Jul 2012 17:26:13 +0000 (17:26 +0000)]
Block reklamy.sfd.pl/

Reported by kacperdominik in #3399948.

11 years agoRevert 1.381 which wasn't a style change after all
Fabian Keil [Mon, 23 Jul 2012 12:55:25 +0000 (12:55 +0000)]
Revert 1.381 which wasn't a style change after all

11 years agoAdd #105: Add support for socks authentication.
Fabian Keil [Mon, 23 Jul 2012 12:49:51 +0000 (12:49 +0000)]
Add #105: Add support for socks authentication.

11 years agoAdd test URLs for .freebsd.org and .watson.org
Fabian Keil [Mon, 23 Jul 2012 12:49:28 +0000 (12:49 +0000)]
Add test URLs for .freebsd.org and .watson.org

11 years agoUnblock .urbandictionary.com/popular
Fabian Keil [Mon, 23 Jul 2012 12:49:13 +0000 (12:49 +0000)]
Unblock .urbandictionary.com/popular

11 years agoBlock requests to .adnxs.com/
Fabian Keil [Mon, 23 Jul 2012 12:48:47 +0000 (12:48 +0000)]
Block requests to .adnxs.com/

11 years agoBlock farm.plista.com/widgetdata.php
Fabian Keil [Mon, 23 Jul 2012 12:47:39 +0000 (12:47 +0000)]
Block farm.plista.com/widgetdata.php

11 years agoUpdate copyright range
Fabian Keil [Mon, 23 Jul 2012 12:47:01 +0000 (12:47 +0000)]
Update copyright range

11 years agoIn ssplit(), assert() that the last substring already is nul-terminated
Fabian Keil [Mon, 23 Jul 2012 12:46:40 +0000 (12:46 +0000)]
In ssplit(), assert() that the last substring already is nul-terminated

11 years agoUse an enum to replace a couple of magic numbers in ssplit()
Fabian Keil [Mon, 23 Jul 2012 12:46:18 +0000 (12:46 +0000)]
Use an enum to replace a couple of magic numbers in ssplit()

11 years agoRemove two pointless casts in ssplit()
Fabian Keil [Mon, 23 Jul 2012 12:44:30 +0000 (12:44 +0000)]
Remove two pointless casts in ssplit()

11 years agoRelocate a comment in ssplit()
Fabian Keil [Mon, 23 Jul 2012 12:44:17 +0000 (12:44 +0000)]
Relocate a comment in ssplit()

11 years agoBump copyright year
Fabian Keil [Mon, 23 Jul 2012 12:43:56 +0000 (12:43 +0000)]
Bump copyright year

11 years agoStart using malloc_or_die()
Fabian Keil [Mon, 23 Jul 2012 12:42:53 +0000 (12:42 +0000)]
Start using malloc_or_die()

11 years agoAdd malloc_or_die() which will allow to simplify code paths were malloc() failures...
Fabian Keil [Mon, 23 Jul 2012 12:41:59 +0000 (12:41 +0000)]
Add malloc_or_die() which will allow to simplify code paths were malloc() failures don't need to be handled gracefully

11 years agoMerge two if conditions in main()
Fabian Keil [Mon, 23 Jul 2012 12:40:52 +0000 (12:40 +0000)]
Merge two if conditions in main()

11 years agoBump copyright to 2012
Fabian Keil [Mon, 23 Jul 2012 12:40:30 +0000 (12:40 +0000)]
Bump copyright to 2012

11 years agoProperly highlight the new log messages from get_request_line().
Fabian Keil [Mon, 23 Jul 2012 12:40:08 +0000 (12:40 +0000)]
Properly highlight the new log messages from get_request_line().

11 years agoReplace strdup() calls with strdup_or_die() calls were it's safe and simplifies the...
Fabian Keil [Mon, 23 Jul 2012 12:39:42 +0000 (12:39 +0000)]
Replace strdup() calls with strdup_or_die() calls were it's safe and simplifies the code

11 years agoDo not confuse a client hanging up with a connection time out
Fabian Keil [Mon, 23 Jul 2012 12:39:12 +0000 (12:39 +0000)]
Do not confuse a client hanging up with a connection time out

If a client closes its side of the connection without sending
a request line, do not send the CLIENT_CONNECTION_TIMEOUT_RESPONSE,
but report the condition properly.

This was reproducible with (for example):
false | nc privoxy-jail 8118

11 years agoFix a clang warning about integers and enums being mixed
Fabian Keil [Tue, 19 Jun 2012 12:50:22 +0000 (12:50 +0000)]
Fix a clang warning about integers and enums being mixed

11 years agoUpdate Junkbuster-related FAQ sections
Fabian Keil [Tue, 19 Jun 2012 12:49:48 +0000 (12:49 +0000)]
Update Junkbuster-related FAQ sections

Remove the dead links and use the past tense as
the fork happened years ago.

11 years agowww.junkbusters.com has been shut down, update the history section accordingly
Fabian Keil [Tue, 19 Jun 2012 12:49:25 +0000 (12:49 +0000)]
junkbusters.com has been shut down, update the history section accordingly

11 years agoRemove two links to www.junkbusters.com which is no longer maintained
Fabian Keil [Tue, 19 Jun 2012 12:48:54 +0000 (12:48 +0000)]
Remove two links to junkbusters.com which is no longer maintained

We already link to Wikipedia's Cookie description elsewhere and
Privoxy's origins are sufficiently documented in history.sgml,
so the links don't need replacements here.

Reported by Angelina Matson.

11 years agoPrevent the CVS substitution in the generated example comment as well
Fabian Keil [Tue, 19 Jun 2012 12:48:04 +0000 (12:48 +0000)]
Prevent the CVS substitution in the generated example comment as well

11 years agoRemove pointless 'debugging support' in ssplit()
Fabian Keil [Fri, 8 Jun 2012 15:16:15 +0000 (15:16 +0000)]
Remove pointless 'debugging support' in ssplit()

gdb offers the same information without recompiling.

11 years agoShorten ssplit()'s prototype by removing the last two arguments
Fabian Keil [Fri, 8 Jun 2012 15:15:11 +0000 (15:15 +0000)]
Shorten ssplit()'s prototype by removing the last two arguments

We always want to skip empty fields and ignore leading
delimiters, so having parameters for this only complicates
the API.

11 years agoLet load_one_actions_file() use ssplit() like every other function
Fabian Keil [Fri, 8 Jun 2012 15:09:06 +0000 (15:09 +0000)]
Let load_one_actions_file() use ssplit() like every other function

It doesn't matter whether or not ignore_leading is enabled.

11 years agoRemove an unreasonable parameter limit in parse_cgi_parameters()
Fabian Keil [Fri, 8 Jun 2012 15:08:33 +0000 (15:08 +0000)]
Remove an unreasonable parameter limit in parse_cgi_parameters()

The new parameter limit depends on the memory available and
is currently unlikely to be reachable, due to other limits in
both Privoxy and common clients.

So the limit is actually still there, but at least it's no
longer unreasonable, is properly handled, and should be high
enough for anybody.

Reported by Andrew on ijbswa-users@.