From: Fabian Keil <fk@fabiankeil.de>
Date: Thu, 21 Apr 2022 10:09:17 +0000 (+0200)
Subject: privoxy-log-parser: Highlight 'Forwarding 157 bytes of encrypted request body.'
X-Git-Tag: v_3_0_34~111
X-Git-Url: http://www.privoxy.org/gitweb/user-manual/static/faq/@default-cgi@send-stylesheet?a=commitdiff_plain;h=bb852452cc898205f0893d667e091773deaa9e30;p=privoxy.git

privoxy-log-parser: Highlight 'Forwarding 157 bytes of encrypted request body.'
---

diff --git a/tools/privoxy-log-parser.pl b/tools/privoxy-log-parser.pl
index 257894c1..0dfdadae 100755
--- a/tools/privoxy-log-parser.pl
+++ b/tools/privoxy-log-parser.pl
@@ -1915,6 +1915,11 @@ sub handle_loglevel_connect($) {
         # Prepared to read up to 157 bytes of encrypted request body from the client.
         $c =~ s@(?<=up to )(\d+)@$h{'Number'}$1$h{'Standard'}@;
 
+    } elsif ($c =~ m/^Forwarding \d+ bytes /) {
+
+        # Forwarding 157 bytes of encrypted request body.
+        $c =~ s@(?<=Forwarding )(\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