privoxy.git
22 years agogive consistent intro.
swa [Fri, 26 Oct 2001 18:36:52 +0000 (18:36 +0000)]
give consistent intro.

22 years agonew version string
swa [Fri, 26 Oct 2001 18:17:23 +0000 (18:17 +0000)]
new version string

22 years agoMoved ijb_isspace and ijb_tolower to project.h
oes [Fri, 26 Oct 2001 17:40:47 +0000 (17:40 +0000)]
Moved ijb_isspace and ijb_tolower to project.h
Removed http->user_agent, csp->referrer and csp->accept_types

22 years agoIntroduced get_header_value()
oes [Fri, 26 Oct 2001 17:40:23 +0000 (17:40 +0000)]
Introduced get_header_value()
Removed client_accept()

22 years agoIntroduced get_header_value()
oes [Fri, 26 Oct 2001 17:40:04 +0000 (17:40 +0000)]
Introduced get_header_value()
Removed http->user_agent, csp->referrer and csp->accept_types
Removed client_accept()

22 years agoMoved ijb_isspace and ijb_tolower to project.h
oes [Fri, 26 Oct 2001 17:39:38 +0000 (17:39 +0000)]
Moved ijb_isspace and ijb_tolower to project.h

22 years agoRemoved csp->referrer
oes [Fri, 26 Oct 2001 17:39:01 +0000 (17:39 +0000)]
Removed csp->referrer
Moved ijb_isspace and ijb_tolower to project.h

22 years agoCosmetics
oes [Fri, 26 Oct 2001 17:38:28 +0000 (17:38 +0000)]
Cosmetics

22 years ago- Re-enabled Netscape 200/404 bug workaround in block_url():
oes [Fri, 26 Oct 2001 17:37:55 +0000 (17:37 +0000)]
- Re-enabled Netscape 200/404 bug workaround in block_url():
  - Removed OS/2 special case
  - Made block_url() independant from sed() having been run
- Made trust_url independant from sed() having been run
- Made is_imageurl independant from sed() having been run.
  It now checks User-Agent: and Accept: by itself.

22 years agomarginal bugfix
oes [Fri, 26 Oct 2001 17:33:27 +0000 (17:33 +0000)]
marginal bugfix

22 years agoRe-enabling the default strings for admin-adress and proxy-info-url
oes [Fri, 26 Oct 2001 11:12:15 +0000 (11:12 +0000)]
Re-enabling the default strings for admin-adress and proxy-info-url

22 years ago- Now works with Netscape 6
jongfoster [Thu, 25 Oct 2001 21:35:45 +0000 (21:35 +0000)]
- Now works with Netscape 6
- Still doesn't work properly in Opera 5.12 or Netscape 4.75
  (It's usable but you don't get the pretty effects)
- Contains ugly browser-detection code that needs tidying if possible

22 years agoAdding a (void*) cast to freez() because Visual Age C++ won't expand the
David Schmidt [Thu, 25 Oct 2001 03:45:02 +0000 (03:45 +0000)]
Adding a (void*) cast to freez() because Visual Age C++ won't expand the
macro when called with a cast; so moving the cast to the macro def'n
seems to both eliminate compiler warnings (on darwin and OS/2, anyway) and
doesn't make macro expansion complain.  Hope this works for everyone else
too...

22 years agoChange in porting tactics: OS/2's EMX porting layer doesn't allow multiple
David Schmidt [Thu, 25 Oct 2001 03:40:48 +0000 (03:40 +0000)]
Change in porting tactics: OS/2's EMX porting layer doesn't allow multiple
threads to call select() simultaneously.  So, it's time to do a real, live,
native OS/2 port.  See defines for __EMX__ (the porting layer) vs. __OS2__
(native). Both versions will work, but using __OS2__ offers multi-threading.

22 years ago*** empty log message ***
hal9 [Wed, 24 Oct 2001 23:58:48 +0000 (23:58 +0000)]
*** empty log message ***

22 years ago*** empty log message ***
hal9 [Wed, 24 Oct 2001 19:27:36 +0000 (19:27 +0000)]
*** empty log message ***

22 years ago*** empty log message ***
hal9 [Wed, 24 Oct 2001 18:47:54 +0000 (18:47 +0000)]
*** empty log message ***

22 years agonit.
hal9 [Wed, 24 Oct 2001 18:40:12 +0000 (18:40 +0000)]
nit.

22 years agonada
hal9 [Wed, 24 Oct 2001 17:43:51 +0000 (17:43 +0000)]
nada

22 years agoFix date only.
hal9 [Wed, 24 Oct 2001 17:13:08 +0000 (17:13 +0000)]
Fix date only.

22 years agoCatching up with Jon's recent work, and a few other things.
hal9 [Wed, 24 Oct 2001 17:10:55 +0000 (17:10 +0000)]
Catching up with Jon's recent work, and a few other things.

22 years agoIncorporate recent changes from Jon's new stuff.
hal9 [Wed, 24 Oct 2001 17:10:08 +0000 (17:10 +0000)]
Incorporate recent changes from Jon's new stuff.

22 years agoMinor update.
hal9 [Wed, 24 Oct 2001 16:46:50 +0000 (16:46 +0000)]
Minor update.

22 years agoTo keep Thomas happy (aka correcting my mistakes)
hal9 [Wed, 24 Oct 2001 15:45:49 +0000 (15:45 +0000)]
To keep Thomas happy (aka correcting my  mistakes)

22 years agoCleaning up error handling in CGI functions - they now send back
jongfoster [Tue, 23 Oct 2001 21:48:19 +0000 (21:48 +0000)]
Cleaning up error handling in CGI functions - they now send back
a HTML error page and should never cause a FATAL error.  (Fixes one
potential source of "denial of service" attacks).

CGI actions file editor that works and is actually useful.

Ability to toggle JunkBuster remotely using a CGI call.

You can turn off both the above features in the main configuration
file, e.g. if you are running a multi-user proxy.

22 years agoAdded enable-edit-actions and enable-remote-toggle
jongfoster [Tue, 23 Oct 2001 21:42:41 +0000 (21:42 +0000)]
Added enable-edit-actions and enable-remote-toggle

22 years agoAdded call to initialize the (statically-allocated of course)
jongfoster [Tue, 23 Oct 2001 21:41:35 +0000 (21:41 +0000)]
Added call to initialize the (statically-allocated of course)
"out of memory" CGI response.

22 years agoAdded support for enable-edit-actions and enable-remote-toggle config
jongfoster [Tue, 23 Oct 2001 21:40:30 +0000 (21:40 +0000)]
Added support for enable-edit-actions and enable-remote-toggle config
file options.

22 years agoAdding error-checking to create_url_spec()
jongfoster [Tue, 23 Oct 2001 21:38:53 +0000 (21:38 +0000)]
Adding error-checking to create_url_spec()

22 years agoDocumenting sed()'s error behaviou (doc change only)
jongfoster [Tue, 23 Oct 2001 21:36:02 +0000 (21:36 +0000)]
Documenting sed()'s error behaviou (doc change only)

22 years agoAdding error-checking to selected functions
jongfoster [Tue, 23 Oct 2001 21:32:33 +0000 (21:32 +0000)]
Adding error-checking to selected functions

22 years agoAdding error-checking to selected functions.
jongfoster [Tue, 23 Oct 2001 21:30:30 +0000 (21:30 +0000)]
Adding error-checking to selected functions.

22 years agoStandardising error codes in string_append
jongfoster [Tue, 23 Oct 2001 21:27:50 +0000 (21:27 +0000)]
Standardising error codes in string_append
make_path() no longer adds '\\' if the dir already ends in '\\' (this
is just copying a UNIX-specific fix to the Windows-specific part)

22 years agoSupport for FEATURE_CGI_EDIT_ACTIONS
jongfoster [Tue, 23 Oct 2001 21:24:10 +0000 (21:24 +0000)]
Support for FEATURE_CGI_EDIT_ACTIONS

22 years agoNew error handling - error codes are now jb_errs, not ints.
jongfoster [Tue, 23 Oct 2001 21:21:03 +0000 (21:21 +0000)]
New error handling - error codes are now jb_errs, not ints.
Changed the way map() handles out-of-memory, to dramatically
reduce the amount of error-checking clutter needed.

22 years agoNew error-handling support: jb_err type and JB_ERR_xxx constants
jongfoster [Tue, 23 Oct 2001 21:19:04 +0000 (21:19 +0000)]
New error-handling support: jb_err type and JB_ERR_xxx constants
CGI functions now return a jb_err, and their parameters map is const.
Support for RUNTIME_FEATUREs to enable/disable config editor
Adding a few comments

22 years agoSpecial-cased OS/2 out of the Netscape-abort-on-404-in-js problem in
David Schmidt [Mon, 22 Oct 2001 15:33:56 +0000 (15:33 +0000)]
Special-cased OS/2 out of the Netscape-abort-on-404-in-js problem in
filters.c.  Added a FIXME in front of the offending code.  I'll gladly
put in a better/more robust fix for all parties if one is presented...
It seems that just returning 200 instead of 404 would pretty much fix
it for everyone, but I don't know all the history of the problem.

22 years agoDisable single-threaded back.
steudten [Sun, 21 Oct 2001 20:25:20 +0000 (20:25 +0000)]
Disable single-threaded back.
filtering by reexp is default on in actionsfile.

22 years agoUpdate from configure.in
steudten [Sun, 21 Oct 2001 19:48:31 +0000 (19:48 +0000)]
Update from configure.in

22 years agowrong url in documentation
swa [Sun, 21 Oct 2001 17:19:22 +0000 (17:19 +0000)]
wrong url in documentation

22 years agonew version.
swa [Sun, 21 Oct 2001 17:08:17 +0000 (17:08 +0000)]
new version.

22 years agoalso provide developer and faq docs.
swa [Sun, 21 Oct 2001 17:07:21 +0000 (17:07 +0000)]
also provide developer and faq docs.

22 years agoComment out the bogus local doc URL by default, now that we're only
David Schmidt [Fri, 19 Oct 2001 00:20:03 +0000 (00:20 +0000)]
Comment out the bogus local doc URL by default, now that we're only
showing it if it's filled in

22 years agoConditional administrator e-mail address... some templates need colspan=2
David Schmidt [Fri, 19 Oct 2001 00:01:33 +0000 (00:01 +0000)]
Conditional administrator e-mail address... some templates need colspan=2

22 years agoOnly show "Local support" on templates conditionally:
David Schmidt [Thu, 18 Oct 2001 22:22:09 +0000 (22:22 +0000)]
Only show "Local support" on templates conditionally:
  - if either 'admin-address' or 'proxy-info-url' are uncommented in config
  - if not, no Local support section appears are removed automatically

22 years agoOnly show "Local support" on templates conditionally:
David Schmidt [Thu, 18 Oct 2001 22:17:43 +0000 (22:17 +0000)]
Only show "Local support" on templates conditionally:
  - if either 'admin-address' or 'proxy-info-url' are uncommented in config
  - if not, no Local support section appears

22 years agomini nit
hal9 [Tue, 16 Oct 2001 01:31:53 +0000 (01:31 +0000)]
mini nit

22 years agoAdding testers. They're important too!
jongfoster [Mon, 15 Oct 2001 23:01:36 +0000 (23:01 +0000)]
Adding testers.  They're important too!
Currently, the list of tester's names has been taken from the
mailing list as far back as the end of June, around when we
moved over from Yahoo! Groups to a SourceForge mailing list.
I've also added those people who've submitted bugs to SourceForge
and who logged in to their SourceForge accounts first.

22 years agoRemoved -O2 and -Wall from AmigaOS-only CFLAGS since they are now in
joergs [Mon, 15 Oct 2001 22:14:59 +0000 (22:14 +0000)]
Removed -O2 and -Wall from AmigaOS-only CFLAGS since they are now in
 the general CFLAGS already.

22 years agoAdded some entries from my local actionsfile.
joergs [Mon, 15 Oct 2001 22:06:16 +0000 (22:06 +0000)]
Added some entries from my local actionsfile.

22 years agoReformatted
hal9 [Mon, 15 Oct 2001 18:52:19 +0000 (18:52 +0000)]
Reformatted

22 years agoremove config.cache for target clobber.
steudten [Mon, 15 Oct 2001 18:28:06 +0000 (18:28 +0000)]
remove config.cache for target clobber.
Cleanup make dist for RH and S.u.S.E.

22 years agoNit
hal9 [Mon, 15 Oct 2001 15:03:05 +0000 (15:03 +0000)]
Nit

22 years agoNit.
hal9 [Mon, 15 Oct 2001 14:44:08 +0000 (14:44 +0000)]
Nit.

22 years agoAdding finished docs to CVS
hal9 [Mon, 15 Oct 2001 14:42:12 +0000 (14:42 +0000)]
Adding finished docs to CVS

22 years agoMinor updates.
hal9 [Mon, 15 Oct 2001 14:25:56 +0000 (14:25 +0000)]
Minor updates.

22 years agoMinor additions, esp. BSD/gmake.
hal9 [Mon, 15 Oct 2001 05:37:32 +0000 (05:37 +0000)]
Minor additions, esp. BSD/gmake.

22 years agoNits.
hal9 [Mon, 15 Oct 2001 03:23:59 +0000 (03:23 +0000)]
Nits.

22 years agoVarious minor changes. Fleshed out SEE ALSO section.
hal9 [Sun, 14 Oct 2001 23:46:24 +0000 (23:46 +0000)]
Various minor changes. Fleshed out SEE ALSO section.

22 years agoRewrite
hal9 [Sun, 14 Oct 2001 23:43:42 +0000 (23:43 +0000)]
Rewrite

22 years agoAdded back in man page
hal9 [Sun, 14 Oct 2001 23:42:18 +0000 (23:42 +0000)]
Added back in man page

22 years agoNew file per Andreas's request...
hal9 [Sun, 14 Oct 2001 23:39:06 +0000 (23:39 +0000)]
New file per Andreas's request...

22 years agoAdding nytimes.com with -no-cookies -fast-redirect
jongfoster [Sun, 14 Oct 2001 23:18:19 +0000 (23:18 +0000)]
Adding nytimes.com with -no-cookies -fast-redirect
Rearranging slightly - should not change results.

22 years agoFixing stupid typo.
jongfoster [Sun, 14 Oct 2001 22:28:41 +0000 (22:28 +0000)]
Fixing stupid typo.

22 years ago- Changes to CGI dispatching method to match CGI names exactly,
jongfoster [Sun, 14 Oct 2001 22:20:18 +0000 (22:20 +0000)]
- Changes to CGI dispatching method to match CGI names exactly,
  rather than doing a prefix match.
- No longer need to count the length of the CGI handler names by hand.
- Adding new handler for 404 error when disptching a CGI, if none of
  the handlers match.
- Adding new handlers for CGI actionsfile editor.

22 years agoRemoving name_length field from struct cgi_dispatcher, as this is
jongfoster [Sun, 14 Oct 2001 22:14:01 +0000 (22:14 +0000)]
Removing name_length field from struct cgi_dispatcher, as this is
now calculated at runtime from the "name" field.

22 years agoNew version of CGI-based actionsfile editor.
jongfoster [Sun, 14 Oct 2001 22:12:49 +0000 (22:12 +0000)]
New version of CGI-based actionsfile editor.
Major changes, including:
- Completely new file parser and file output routines
- edit-actions CGI renamed edit-actions-for-url
- All CGIs now need a filename parameter, except for...
- New CGI edit-actions which doesn't need a filename,
  to allow you to start the editor up.
- edit-actions-submit now works, and now automatically
  redirects you back to the main edit-actions-list handler.

22 years agoNew function string_append() which is like strsav(), but running
jongfoster [Sun, 14 Oct 2001 22:02:57 +0000 (22:02 +0000)]
New function string_append() which is like strsav(), but running
out of memory isn't automatically FATAL.

22 years agoAdding support for a 404 error when an invalid CGI page is requested.
jongfoster [Sun, 14 Oct 2001 22:00:32 +0000 (22:00 +0000)]
Adding support for a 404 error when an invalid CGI page is requested.

22 years agoAdding support for the CGI-based editor:
jongfoster [Sun, 14 Oct 2001 21:58:22 +0000 (21:58 +0000)]
Adding support for the CGI-based editor:
- Exported get_actions()
- Added new function free_alias_list()
- Added support for {{settings}} and {{description}} blocks
  in the actions file.  They are currently ignored.
- Added restriction to only one {{alias}} block which must appear
  first in the file, to simplify the editor's rewriting rules.
- Note that load_actions_file() is no longer used by the CGI-based
  editor, but some of the other routines in this file are.

22 years agoFixed WebBug filter.
joergs [Sat, 13 Oct 2001 13:11:20 +0000 (13:11 +0000)]
Fixed WebBug filter.

22 years agoRemoved client_host, (was only required for the old 2.0.2-11 http://noijb.
joergs [Sat, 13 Oct 2001 12:51:51 +0000 (12:51 +0000)]
Removed client_host, (was only required for the old 2.0.2-11 noijb.
force-load), instead crumble Host: and add it (again) in client_host_adder
(in case we get a HTTP/1.0 request without Host: header and forward it to
a HTTP/1.1 server/proxy).

22 years agoRemoved client_host, added client_host_adder
joergs [Sat, 13 Oct 2001 12:47:32 +0000 (12:47 +0000)]
Removed client_host, added client_host_adder

22 years agoAdded #undef EINTR to avoid warnings
joergs [Sat, 13 Oct 2001 12:46:08 +0000 (12:46 +0000)]
Added #undef EINTR to avoid warnings

22 years agoAdded in Andreas's new actions.
hal9 [Thu, 11 Oct 2001 03:44:24 +0000 (03:44 +0000)]
Added in Andreas's new actions.

22 years agoMoving some code that wasn't cookie-related out of an #ifdef
jongfoster [Wed, 10 Oct 2001 19:56:46 +0000 (19:56 +0000)]
Moving some code that wasn't cookie-related out of an #ifdef
FEATURE_COOKIE_JAR

22 years agoMinor change for init script.
hal9 [Wed, 10 Oct 2001 18:59:28 +0000 (18:59 +0000)]
Minor change for init script.

22 years agoVery minor changes.
hal9 [Wed, 10 Oct 2001 17:28:33 +0000 (17:28 +0000)]
Very minor changes.

22 years agoAdded LIMIT_CONNECT action and string
oes [Wed, 10 Oct 2001 16:45:15 +0000 (16:45 +0000)]
Added LIMIT_CONNECT action and string
Fixed HTTP message line termination
Added CFORBIDDEN HTTP message

22 years agoAdded CONNECT destination port limitation check
oes [Wed, 10 Oct 2001 16:44:36 +0000 (16:44 +0000)]
Added CONNECT destination port limitation check

22 years agoAdded match_portlist function
oes [Wed, 10 Oct 2001 16:44:16 +0000 (16:44 +0000)]
Added match_portlist function

22 years agoAdded documentation for +limit-connect action, added exception for my bank
oes [Wed, 10 Oct 2001 16:43:39 +0000 (16:43 +0000)]
Added documentation for +limit-connect action, added exception for my bank

22 years agoFixed a bug, Added +limit-connect string action
oes [Wed, 10 Oct 2001 16:42:52 +0000 (16:42 +0000)]
Fixed a bug, Added +limit-connect string action

22 years agoAdded ugly hack to make install target work at least for some setups.
oes [Wed, 10 Oct 2001 12:43:33 +0000 (12:43 +0000)]
Added ugly hack to make install target work at least for some setups.

22 years agoFailiure to load template now fatal. Before, the user got a hard-to-understand assert...
oes [Wed, 10 Oct 2001 10:56:39 +0000 (10:56 +0000)]
Failiure to load template now fatal. Before, the user got a hard-to-understand assertion failure from cgi.c

22 years agoassert.h is also required under Win32, so moving out of #ifndef _WIN32 v_2_9_9
jongfoster [Tue, 9 Oct 2001 22:39:21 +0000 (22:39 +0000)]
assert.h is also required under Win32, so moving out of #ifndef _WIN32
block.

22 years agoCorrecting actionsfile filename for Win32 INI build
jongfoster [Tue, 9 Oct 2001 22:38:19 +0000 (22:38 +0000)]
Correcting actionsfile filename for Win32 INI build

22 years agoRe-enabled SSL forwarding
oes [Mon, 8 Oct 2001 15:17:41 +0000 (15:17 +0000)]
Re-enabled SSL forwarding

22 years agoAdded server_content_encoding, renamed server_transfer_encoding
oes [Sun, 7 Oct 2001 18:50:55 +0000 (18:50 +0000)]
Added server_content_encoding, renamed server_transfer_encoding

22 years agoAdded status member to struct http_request
oes [Sun, 7 Oct 2001 18:06:43 +0000 (18:06 +0000)]
Added status member to struct http_request

22 years agoChanged server_http11 to server_http and its pattern to "HTTP".
oes [Sun, 7 Oct 2001 18:04:49 +0000 (18:04 +0000)]
Changed server_http11 to server_http and its pattern to "HTTP".
  Additional functionality: it now saves the HTTP status into
  csp->http->status and sets CT_TABOO for Status 206 (partial range)

22 years agoChanged server_http11 to server_http
oes [Sun, 7 Oct 2001 18:01:55 +0000 (18:01 +0000)]
Changed server_http11 to server_http

22 years agoFollowed Guy's proposal to change the document.cookie job
oes [Sun, 7 Oct 2001 15:46:42 +0000 (15:46 +0000)]
Followed Guy's proposal to change the document.cookie job

22 years agoadded client_accept_encoding, client_te, client_accept_encoding_adder
oes [Sun, 7 Oct 2001 15:45:48 +0000 (15:45 +0000)]
added client_accept_encoding, client_te, client_accept_encoding_adder

renamed content_type and content_length

fixed client_host and strclean prototypes

22 years agoAdded url member to struct http_request and commented all
oes [Sun, 7 Oct 2001 15:45:25 +0000 (15:45 +0000)]
Added url member to struct http_request and commented all
  members

Added CT_TABOO

Added ACTION_DOWNGRADE and ACTION_NO_COMPRESSION

Replaced struct client_state members rejected,
  force, active and toggled_on with "flags" bitmap.

Added CSP_FLAG_MODIFIED and CSP_FLAG_CHUNKED

Added buffer_limit to struct configuration_spec

22 years agoRemoved FEATURE_DENY_GZIP and replaced it with client_accept_encoding,
oes [Sun, 7 Oct 2001 15:43:28 +0000 (15:43 +0000)]
Removed FEATURE_DENY_GZIP and replaced it with client_accept_encoding,
   client_te and client_accept_encoding_adder, triggered by the new
   +no-compression action. For HTTP/1.1 the Accept-Encoding header is
   changed to allow only identity and chunked, and the TE header is
   crunched. For HTTP/1.0, Accept-Encoding is crunched.

parse_http_request no longer does anything than parsing. The rewriting
  of http->cmd and version mangling are gone. It now also recognizes
  the put and delete methods and saves the url in http->url. Removed
  unused variable.

renamed content_type and content_length to have the server_ prefix

server_content_type now only works if csp->content_type != CT_TABOO

added server_transfer_encoding, which
  - Sets CT_TABOO to prohibit filtering if encoding compresses
  - Raises the CSP_FLAG_CHUNKED flag if Encoding is "chunked"
  - Change from "chunked" to "identity" if body was chunked
    but has been de-chunked for filtering.

added server_content_md5 which crunches any Content-MD5 headers
  if the body was modified.

made server_http11 conditional on +downgrade action

Replaced 6 boolean members of csp with one bitmap (csp->flags)

22 years agofilter_popups now gets a csp pointer so it can raise the new
oes [Sun, 7 Oct 2001 15:42:41 +0000 (15:42 +0000)]
filter_popups now gets a csp pointer so it can raise the new
  CSP_FLAG_MODIFIED flag.

22 years agoReplaced 6 boolean members of csp with one bitmap (csp->flags)
oes [Sun, 7 Oct 2001 15:42:11 +0000 (15:42 +0000)]
Replaced 6 boolean members of csp with one bitmap (csp->flags)

Moved downgrading of the HTTP version from parse_http_request to
  chat(), since we can't decide if it is necessary before we have
  determined the actions for the URL. The HTTP command is now
  *always* re-built so the repairs need no longer be special-cased.

filter_popups now gets a csp pointer so it can raise the new
  CSP_FLAG_MODIFIED flag.

Bugfix

Added configurable size limit for the IOB. If the IOB grows so
  large that the next read would exceed the limit, the header
  is generated, and the header & unfiltered buffer are flushed
  to the client. Chat then continues in non-buffering,
  non-filtering body mode.

22 years agoAdded prototype for remove_chunked_transfer_coding
oes [Sun, 7 Oct 2001 15:41:40 +0000 (15:41 +0000)]
Added prototype for remove_chunked_transfer_coding

22 years agoReplaced 6 boolean members of csp with one bitmap (csp->flags)
oes [Sun, 7 Oct 2001 15:41:23 +0000 (15:41 +0000)]
Replaced 6 boolean members of csp with one bitmap (csp->flags)

New function remove_chunked_transfer_coding that strips chunked
  transfer coding to plain and is called by pcrs_filter_response
  and gif_deanimate_response if neccessary

Improved handling of zero-change re_filter runs

pcrs_filter_response and gif_deanimate_response now remove
  chunked transfer codeing before processing the body.