From: Fabian Keil <fk@fabiankeil.de>
Date: Mon, 13 Jul 2009 17:17:47 +0000 (+0000)
Subject: Accept and ignore: Removing 'Connection: close' to imply keep-alive.
X-Git-Tag: v_3_0_14~38
X-Git-Url: http://www.privoxy.org/gitweb/%22https:/developer-manual/faq/@default-cgi@/static/gitweb.js?a=commitdiff_plain;h=cb3da8cfa4d8d9d30bc2d9445fafe8cd37cddfb0;p=privoxy.git

Accept and ignore: Removing 'Connection: close' to imply keep-alive.
---

diff --git a/tools/privoxy-log-parser.pl b/tools/privoxy-log-parser.pl
index 827a7ce2..a1418823 100755
--- a/tools/privoxy-log-parser.pl
+++ b/tools/privoxy-log-parser.pl
@@ -8,7 +8,7 @@
 #
 # http://www.fabiankeil.de/sourcecode/privoxy-log-parser/
 #
-# $Id: privoxy-log-parser.pl,v 1.155 2009/07/11 14:44:44 fk Exp $
+# $Id: privoxy-log-parser.pl,v 1.156 2009/07/13 17:16:53 fk Exp $
 #
 # TODO:
 #       - LOG_LEVEL_CGI, LOG_LEVEL_ERROR, LOG_LEVEL_WRITE content highlighting
@@ -915,6 +915,7 @@ sub handle_loglevel_header ($) {
           or $c =~ m/Keeping the (?:server|client) header /
           or $c =~ m/Content modified with no Content-Length header set/
           or $c =~ m/^Appended client IP address to/
+          or $c =~ m/^Removing 'Connection: close' to imply keep-alive./
             )
     {
         # XXX: Some of these may need highlighting
@@ -958,6 +959,7 @@ sub handle_loglevel_header ($) {
         # Keeping the client header 'Connection: keep-alive' around. The connection will be kept alive if possible.
         # Content modified with no Content-Length header set. Creating a fake one for adjustment later on.
         # Appended client IP address to X-Forwarded-For: 10.0.0.2, 10.0.0.1
+        # Removing 'Connection: close' to imply keep-alive.
 
     } elsif ($c =~ m/^scanning headers for:/) {