From 3671a38a6e948b959befb8ca23698e35b039b065 Mon Sep 17 00:00:00 2001 From: Fabian Keil Date: Sun, 8 May 2022 12:01:59 +0200 Subject: [PATCH] privoxy-log-parser: Highlight: 'Reducing the chunk offset from 1096654 to 32704 after discarding 1063950 bytes to make room in the buffer.' --- tools/privoxy-log-parser.pl | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tools/privoxy-log-parser.pl b/tools/privoxy-log-parser.pl index ea337523..3265ac72 100755 --- a/tools/privoxy-log-parser.pl +++ b/tools/privoxy-log-parser.pl @@ -1930,6 +1930,13 @@ sub handle_loglevel_connect($) { # The last 6945 bytes of the encrypted request body have been read. $c =~ s@(?<=The last )(\d+)@$h{'Number'}$1$h{'Standard'}@; + } 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. + $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'}@; + } elsif ($c =~ m/^Looks like we / or $c =~ m/^Unsetting keep-alive flag/ or $c =~ m/^No connections to wait/ or -- 2.39.2