From: Fabian Keil Date: Sun, 8 May 2022 10:01:59 +0000 (+0200) Subject: privoxy-log-parser: Highlight: 'Reducing the chunk offset from 1096654 to 32704 after... X-Git-Tag: v_3_0_34~105 X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=commitdiff_plain;h=3671a38a6e948b959befb8ca23698e35b039b065;hp=94c8b5dfb65b18ef408c81527bd71fb63e04437d privoxy-log-parser: Highlight: 'Reducing the chunk offset from 1096654 to 32704 after discarding 1063950 bytes to make room in the buffer.' --- 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