From: Fabian Keil Date: Sat, 23 Jan 2021 13:41:07 +0000 (+0100) Subject: privoxy-log-parser: Highlight: 'Chunk size 291 exceeds buffered data left. Already... X-Git-Tag: v_3_0_30~26 X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=commitdiff_plain;h=ee191563e8abe63a4cafad72cf04411b0a28accf;hp=31265b1b2d8f5b81cbde0fcada6271d800430c59 privoxy-log-parser: Highlight: 'Chunk size 291 exceeds buffered data left. Already digested 69894 of 69957 buffered bytes.' --- diff --git a/tools/privoxy-log-parser.pl b/tools/privoxy-log-parser.pl index c0f8b219..54ffb2cc 100755 --- a/tools/privoxy-log-parser.pl +++ b/tools/privoxy-log-parser.pl @@ -2104,6 +2104,13 @@ sub handle_loglevel_error($) { # Sending data on socket 33 over TLS/SSL failed: no TLS/SSL errors detected $c =~ s@(?<=on socket )(\d+)@$h{'Number'}$1$h{'Standard'}@; + } elsif ($c =~ m/^Chunk size \d+ exceeds buffered data left/) { + + # Chunk size 291 exceeds buffered data left. Already digested 69894 of 69957 buffered bytes. + $c =~ s@(?<=size )(\d+)@$h{'Number'}$1$h{'Standard'}@; + $c =~ s@(?<=digested )(\d+)@$h{'Number'}$1$h{'Standard'}@; + $c =~ s@(?<=of )(\d+)@$h{'Number'}$1$h{'Standard'}@; + } # XXX: There are probably more messages that deserve highlighting.