From: Fabian Keil Date: Mon, 3 Nov 2008 16:31:56 +0000 (+0000) Subject: Accept and ignore "Connect: Unsetting keep-alive flag.". X-Git-Tag: v_3_0_11~180 X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=commitdiff_plain;h=33ef2bc8515d0f8084b557293c2ec14bd0163715 Accept and ignore "Connect: Unsetting keep-alive flag.". --- diff --git a/tools/privoxy-log-parser.pl b/tools/privoxy-log-parser.pl index f1a776b7..aa70abbb 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.118 2008/11/01 14:10:53 fk Exp $ +# $Id: privoxy-log-parser.pl,v 1.119 2008/11/03 16:30:50 fk Exp $ # # TODO: # - LOG_LEVEL_CGI, LOG_LEVEL_ERROR, LOG_LEVEL_WRITE content highlighting @@ -1473,9 +1473,11 @@ sub handle_loglevel_connect ($) { $c =~ s@(?<=Actual content length: )(\d+)@$h{'Number'}$1$h{'Standard'}@; $c =~ s@(?<=received: )(\d+)@$h{'Number'}$1$h{'Standard'}@; - } elsif ($c =~ m/^Looks like we reached/) { + } elsif ($c =~ m/^Looks like we reached/ or + $c =~ m/^Unsetting keep-alive flag/) { # Looks like we reached the end of the last chunk. We better stop reading. + # Unsetting keep-alive flag. } else {