From: Fabian Keil <fk@fabiankeil.de>
Date: Thu, 5 May 2022 15:43:22 +0000 (+0200)
Subject: privoxy-log-parser: Highlight 'The last 6945 bytes of the encrypted request body... 
X-Git-Tag: v_3_0_34~106
X-Git-Url: http://www.privoxy.org/gitweb/man-page/developer-manual/@default-cgi@toggle?a=commitdiff_plain;h=94c8b5dfb65b18ef408c81527bd71fb63e04437d;p=privoxy.git

privoxy-log-parser: Highlight 'The last 6945 bytes of the encrypted request body have been read.'
---

diff --git a/tools/privoxy-log-parser.pl b/tools/privoxy-log-parser.pl
index bf2dbdcd..ea337523 100755
--- a/tools/privoxy-log-parser.pl
+++ b/tools/privoxy-log-parser.pl
@@ -1925,6 +1925,11 @@ sub handle_loglevel_connect($) {
         # Buffering encrypted client body. Prepared to read up to 2236 bytes.
         $c =~ s@(?<=up to )(\d+)@$h{'Number'}$1$h{'Standard'}@;
 
+    } elsif ($c =~ m/^The last \d+ bytes of the encrypted request body have been read/) {
+
+        # 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/^Looks like we / or
              $c =~ m/^Unsetting keep-alive flag/ or
              $c =~ m/^No connections to wait/ or