From 02bcc6702ee7fe694001deb8b81c4c6fff177c9e Mon Sep 17 00:00:00 2001 From: Fabian Keil Date: Wed, 26 Nov 2008 18:17:20 +0000 Subject: [PATCH] Ignore: Connect: Looks like we read the last chunk together with the server headers. We better stop reading. --- tools/privoxy-log-parser.pl | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tools/privoxy-log-parser.pl b/tools/privoxy-log-parser.pl index 5a88c259..bb01e80c 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.125 2008/11/23 15:43:05 fk Exp $ +# $Id: privoxy-log-parser.pl,v 1.126 2008/11/26 18:05:01 fk Exp $ # # TODO: # - LOG_LEVEL_CGI, LOG_LEVEL_ERROR, LOG_LEVEL_WRITE content highlighting @@ -1482,10 +1482,12 @@ 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/ or + } elsif ($c =~ m/^Looks like we rea/ or $c =~ m/^Unsetting keep-alive flag/) { # Looks like we reached the end of the last chunk. We better stop reading. + # Looks like we read the end of the last chunk together with the server \ + # headers. We better stop reading. # Unsetting keep-alive flag. } else { -- 2.39.2