From 609346d48eae7c367a67b7808dff3d25350cb15e Mon Sep 17 00:00:00 2001 From: Fabian Keil Date: Thu, 26 May 2022 16:10:49 +0200 Subject: [PATCH 1/1] privoxy-log-parser: Highlight 'Reducing the chunk offset from 16219 to 128 after flushing 16091 bytes.' completely --- tools/privoxy-log-parser.pl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/privoxy-log-parser.pl b/tools/privoxy-log-parser.pl index 3265ac72..f27188c4 100755 --- a/tools/privoxy-log-parser.pl +++ b/tools/privoxy-log-parser.pl @@ -1933,9 +1933,11 @@ sub handle_loglevel_connect($) { } elsif ($c =~ m/^Reducing the chunk offset from/) { # Reducing the chunk offset from 1096654 to 32704 after discarding 1063950 bytes to make room in the buffer. + # Reducing the chunk offset from 16219 to 128 after flushing 16091 bytes. $c =~ s@(?<=\d to )(\d+)@$h{'Number'}$1$h{'Standard'}@; $c =~ s@(?<=offset from )(\d+)@$h{'Number'}$1$h{'Standard'}@; $c =~ s@(?<=after discarding )(\d+)@$h{'Number'}$1$h{'Standard'}@; + $c =~ s@(?<=after flushing )(\d+)@$h{'Number'}$1$h{'Standard'}@; } elsif ($c =~ m/^Looks like we / or $c =~ m/^Unsetting keep-alive flag/ or -- 2.39.2