From 8097d5c758be7f4167d402380479dfcfdc4ea1b1 Mon Sep 17 00:00:00 2001 From: Fabian Keil Date: Wed, 3 Jun 2020 19:13:04 +0200 Subject: [PATCH] privoxy-log-parser.pl: Accept and highlight: Forwarded the last 1954 bytes --- tools/privoxy-log-parser.pl | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tools/privoxy-log-parser.pl b/tools/privoxy-log-parser.pl index 6749543e..dc8eea14 100755 --- a/tools/privoxy-log-parser.pl +++ b/tools/privoxy-log-parser.pl @@ -1754,6 +1754,11 @@ sub handle_loglevel_connect($) { # Forwarding 1954 bytes of encrypted POST data $c =~ s@(?<=Forwarding )(\d+)@$h{'Number'}$1$h{'Standard'}@; + } elsif ($c =~ m/^Forwarded the last \d+ bytes/) { + + # Forwarded the last 1954 bytes + $c =~ s@(?<=the last )(\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