From 6608b2b05edd3f6ea2832bb76be5fccc025914e0 Mon Sep 17 00:00:00 2001 From: Fabian Keil Date: Thu, 20 Dec 2012 17:02:30 +0000 Subject: [PATCH] Accept and highlight: Shifting 360 pipelined bytes by 360 bytes --- tools/privoxy-log-parser.pl | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/tools/privoxy-log-parser.pl b/tools/privoxy-log-parser.pl index aa0b626f..1acdcc91 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.144 2012/10/29 11:59:08 fabiankeil Exp $ +# $Id: privoxy-log-parser.pl,v 1.145 2012/12/07 12:46:04 fabiankeil Exp $ # # TODO: # - LOG_LEVEL_CGI, LOG_LEVEL_ERROR, LOG_LEVEL_WRITE content highlighting @@ -1724,6 +1724,12 @@ sub handle_loglevel_connect ($) { # Tainting client socket 7 due to unread data. $c =~ s@(?<=socket )(\d+)@$h{'Number'}$1$h{'Standard'}@; + } elsif ($c =~ m/^Shifting \d+ pipelined bytes/) { + + # Shifting 360 pipelined bytes by 360 bytes + $c =~ s@(?<=Shifting )(\d+)@$h{'Number'}$1$h{'Standard'}@; + $c =~ s@(?<=by )(\d+)@$h{'Number'}$1$h{'Standard'}@; + } elsif ($c =~ m/^Looks like we / or $c =~ m/^Unsetting keep-alive flag/ or $c =~ m/^No connections to wait/ or -- 2.39.2