privoxy-log-parser: Highlight 'Buffering encrypted client body. Prepared to read...
authorFabian Keil <fk@fabiankeil.de>
Thu, 5 May 2022 15:39:45 +0000 (17:39 +0200)
committerFabian Keil <fk@fabiankeil.de>
Fri, 6 May 2022 10:40:01 +0000 (12:40 +0200)
tools/privoxy-log-parser.pl

index 0dfdada..bf2dbdc 100755 (executable)
@@ -1920,6 +1920,11 @@ sub handle_loglevel_connect($) {
         # Forwarding 157 bytes of encrypted request body.
         $c =~ s@(?<=Forwarding )(\d+)@$h{'Number'}$1$h{'Standard'}@;
 
+    } elsif ($c =~ m/^Buffering encrypted client body/) {
+
+        # Buffering encrypted client body. Prepared to read up to 2236 bytes.
+        $c =~ s@(?<=up to )(\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