From: Fabian Keil <fk@fabiankeil.de>
Date: Wed, 8 Jul 2009 17:26:46 +0000 (+0000)
Subject: Highlight: Client keep-alive timeout is 20. Sticking with 10.
X-Git-Tag: v_3_0_14~55
X-Git-Url: http://www.privoxy.org/gitweb/%22https:/@default-cgi@/developer-manual/static/gitweb.js?a=commitdiff_plain;h=c612734f7fbf272cd06330f080e870930b674792;p=privoxy.git

Highlight: Client keep-alive timeout is 20. Sticking with 10.
---

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'}@;