From c612734f7fbf272cd06330f080e870930b674792 Mon Sep 17 00:00:00 2001 From: Fabian Keil Date: Wed, 8 Jul 2009 17:26:46 +0000 Subject: [PATCH] Highlight: Client keep-alive timeout is 20. Sticking with 10. --- tools/privoxy-log-parser.pl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tools/privoxy-log-parser.pl b/tools/privoxy-log-parser.pl index d685ef3b..ffa4973a 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.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 @@ -995,9 +995,10 @@ sub handle_loglevel_header ($) { # 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'}@; -- 2.39.2