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

index 6749543..dc8eea1 100755 (executable)
@@ -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