From: Fabian Keil <fk@fabiankeil.de>
Date: Tue, 12 Jan 2021 10:07:33 +0000 (+0100)
Subject: privoxy-log-parser: Highlight: 'Flushed 3153 bytes of request body'
X-Git-Tag: v_3_0_30~107
X-Git-Url: http://www.privoxy.org/gitweb/@default-cgi@/faq/%22https:/@referrer@?a=commitdiff_plain;h=98a2afd8fdc24c225c044ec7ac4f08062d564363;p=privoxy.git

privoxy-log-parser: Highlight: 'Flushed 3153 bytes of request body'
---

diff --git a/tools/privoxy-log-parser.pl b/tools/privoxy-log-parser.pl
index 782bada1..095133ab 100755
--- a/tools/privoxy-log-parser.pl
+++ b/tools/privoxy-log-parser.pl
@@ -1829,6 +1829,11 @@ sub handle_loglevel_connect($) {
         # The last 12078 bytes of the request body have been read
         $c =~ s@(?<=The last )(\d+)@$h{'Number'}$1$h{'Standard'}@;
 
+    } elsif ($c =~ m/^Flushed \d+ bytes of request body/) {
+
+        # Flushed 3153 bytes of request body
+        $c =~ s@(?<=Flushed )(\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