Accept and ignore: Removing 'Connection: close' to imply keep-alive.
authorFabian Keil <fk@fabiankeil.de>
Mon, 13 Jul 2009 17:17:47 +0000 (17:17 +0000)
committerFabian Keil <fk@fabiankeil.de>
Mon, 13 Jul 2009 17:17:47 +0000 (17:17 +0000)
tools/privoxy-log-parser.pl

index 827a7ce..a141882 100755 (executable)
@@ -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:/) {