From cb3da8cfa4d8d9d30bc2d9445fafe8cd37cddfb0 Mon Sep 17 00:00:00 2001 From: Fabian Keil Date: Mon, 13 Jul 2009 17:17:47 +0000 Subject: [PATCH] Accept and ignore: Removing 'Connection: close' to imply keep-alive. --- tools/privoxy-log-parser.pl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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:/) { -- 2.39.2