#
# 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
$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 {