From: Fabian Keil <fk@fabiankeil.de>
Date: Wed, 3 Jun 2020 17:13:04 +0000 (+0200)
Subject: privoxy-log-parser.pl: Accept and highlight: Forwarded the last 1954 bytes
X-Git-Tag: v_3_0_29~326
X-Git-Url: http://www.privoxy.org/gitweb/%22https:/faq/@default-cgi@/@default-cgi@send-stylesheet?a=commitdiff_plain;h=8097d5c758be7f4167d402380479dfcfdc4ea1b1;p=privoxy.git

privoxy-log-parser.pl: Accept and highlight: Forwarded the last 1954 bytes
---

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