privoxy-log-parser.pl: Accept and highlight: Forwarding 1954 bytes of encrypted POST...
authorFabian Keil <fk@fabiankeil.de>
Wed, 3 Jun 2020 17:11:04 +0000 (19:11 +0200)
committerFabian Keil <fk@fabiankeil.de>
Thu, 4 Jun 2020 04:33:01 +0000 (06:33 +0200)
tools/privoxy-log-parser.pl

index 92288cc..6749543 100755 (executable)
@@ -1749,6 +1749,11 @@ sub handle_loglevel_connect($) {
         # Performing the TLS/SSL handshake with client. Hash of host: bab5296b25e256c7b06b92b17b56bcae
         $c = highlight_matched_host($c, '(?<=Hash of host: ).+');
 
         # Performing the TLS/SSL handshake with client. Hash of host: bab5296b25e256c7b06b92b17b56bcae
         $c = highlight_matched_host($c, '(?<=Hash of host: ).+');
 
+    } elsif ($c =~ m/^Forwarding \d+ bytes of encrypted POST data/) {
+
+        # Forwarding 1954 bytes of encrypted POST data
+        $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
     } elsif ($c =~ m/^Looks like we / or
              $c =~ m/^Unsetting keep-alive flag/ or
              $c =~ m/^No connections to wait/ or