From: Fabian Keil <fk@fabiankeil.de>
Date: Sat, 30 May 2020 09:06:38 +0000 (+0200)
Subject: privoxy-log-parser.pl: Accept and highlight: Flushed 30 bytes of request body while... 
X-Git-Tag: v_3_0_29~338
X-Git-Url: http://www.privoxy.org/gitweb/@default-cgi@/faq/%22https:/@referrer@?a=commitdiff_plain;h=241edc9233f90a9ed34fc03e413bab8a4d328be9;p=privoxy.git

privoxy-log-parser.pl: Accept and highlight: Flushed 30 bytes of request body while expecting 30
---

diff --git a/tools/privoxy-log-parser.pl b/tools/privoxy-log-parser.pl
index c778b492..40def9d2 100755
--- a/tools/privoxy-log-parser.pl
+++ b/tools/privoxy-log-parser.pl
@@ -1735,6 +1735,12 @@ sub handle_loglevel_connect($) {
         $c =~ s@(?<=Shifting )(\d+)@$h{'Number'}$1$h{'Standard'}@;
         $c =~ s@(?<=by )(\d+)@$h{'Number'}$1$h{'Standard'}@;
 
+    } elsif ($c =~ m/^Flushed (\d+) bytes of request body while expecting (\d+)/) {
+
+        # Flushed 30 bytes of request body while expecting 30
+        $c =~ s@(?<=Flushed )(\d+)@$h{'Number'}$1$h{'Standard'}@;
+        $c =~ s@(?<=expecting )(\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