Highlight: Stopped waiting for the request line. Timeout: 121.
authorFabian Keil <fk@fabiankeil.de>
Sun, 4 Oct 2009 15:47:12 +0000 (15:47 +0000)
committerFabian Keil <fk@fabiankeil.de>
Sun, 4 Oct 2009 15:47:12 +0000 (15:47 +0000)
tools/privoxy-log-parser.pl

index e5ddf67..a2e705f 100755 (executable)
@@ -8,7 +8,7 @@
 #
 # http://www.fabiankeil.de/sourcecode/privoxy-log-parser/
 #
-# $Id: privoxy-log-parser.pl,v 1.50 2009/09/12 12:38:14 fabiankeil Exp $
+# $Id: privoxy-log-parser.pl,v 1.51 2009/09/22 11:33:23 fabiankeil Exp $
 #
 # TODO:
 #       - LOG_LEVEL_CGI, LOG_LEVEL_ERROR, LOG_LEVEL_WRITE content highlighting
@@ -1520,6 +1520,11 @@ sub handle_loglevel_connect ($) {
         $c =~ s@(?<=Timeout is: )(\d+)@$h{'Number'}$1$h{'Standard'}@;
         $c =~ s@(?<=Assumed latency: )(\d+)@$h{'Number'}$1$h{'Standard'}@;
 
+    } elsif ($c =~ m/^Stopped waiting for the request line./) {
+
+        # Stopped waiting for the request line. Timeout: 121.
+        $c =~ s@(?<=Timeout: )(\d+)@$h{'Number'}$1$h{'Standard'}@;
+
     } elsif ($c =~ m/^Waiting for \d/) {
 
         # Waiting for 1 connections to timeout.