#
# http://www.fabiankeil.de/sourcecode/privoxy-log-parser/
#
-# $Id: privoxy-log-parser.pl,v 1.153 2009/06/30 19:05:08 fk Exp $
+# $Id: privoxy-log-parser.pl,v 1.154 2009/07/07 19:40:14 fk Exp $
#
# TODO:
# - LOG_LEVEL_CGI, LOG_LEVEL_ERROR, LOG_LEVEL_WRITE content highlighting
# XXX: Could highlight more here.
$content =~ s@(?<=^Content-Type: )(.*)(?= not replaced)@$h{'content-type'}$1$h{'Standard'}@;
- } elsif ($c =~ m/^Server keep-alive timeout is/) {
+ } elsif ($c =~ m/^(Server|Client) keep-alive timeout is/) {
# Server keep-alive timeout is 5. Sticking with 10.
+ # Client keep-alive timeout is 20. Sticking with 10.
$content =~ s@(?<=timeout is )(\d+)@$h{'Number'}$1$h{'Standard'}@;
$content =~ s@(?<=Sticking with )(\d+)@$h{'Number'}$1$h{'Standard'}@;