From de207b7461b11dce70902251c5a1cdc111f773e9 Mon Sep 17 00:00:00 2001 From: Fabian Keil Date: Sun, 17 Mar 2024 19:00:05 +0100 Subject: [PATCH] privoxy-log-parser: Highlight 'Keeping chunk offset at 0 despite flushing 31 bytes.' --- tools/privoxy-log-parser.pl | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tools/privoxy-log-parser.pl b/tools/privoxy-log-parser.pl index 29b8e1e8..b499237e 100755 --- a/tools/privoxy-log-parser.pl +++ b/tools/privoxy-log-parser.pl @@ -1970,6 +1970,12 @@ sub handle_loglevel_connect($) { $c = highlight_matched_url($c, "(?<=error message for )[^ ]*"); $c =~ s@(?<=client socket )(\d+)@$h{'Number'}$1$h{'Standard'}@; + } elsif ($c =~ m/^Keeping chunk offset at/) { + + # Keeping chunk offset at 0 despite flushing 31 bytes. + $c =~ s@(?<=offset at )(\d+)@$h{'Number'}$1$h{'Standard'}@; + $c =~ s@(?<=flushing )(\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