[Privoxy-commits] [privoxy] 04/26: privoxy-log-parser: Highlight 'The last 12078 bytes of the request body have been read'

User Git git at git.privoxy.org
Mon Jan 18 13:32:12 UTC 2021


This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository privoxy.

commit 4fe4a728a973dea0fd69e57c0f6905914bbdbc60
Author: Fabian Keil <fk at fabiankeil.de>
AuthorDate: Mon Jan 11 08:48:39 2021 +0100

    privoxy-log-parser: Highlight 'The last 12078 bytes of the request body have been read'
---
 tools/privoxy-log-parser.pl | 5 +++++
 1 file changed, 5 insertions(+)

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

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Privoxy-commits mailing list