[Privoxy-commits] [privoxy] 01/05: privoxy-log-parser: Highlight: 'Reducing the chunk offset from 1096654 to 32704 after discarding 1063950 bytes to make room in the buffer.'

User Git git at git.privoxy.org
Fri Jun 10 09:41:45 UTC 2022


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

git pushed a commit to branch master
in repository privoxy.

commit 3671a38a6e948b959befb8ca23698e35b039b065
Author: Fabian Keil <fk at fabiankeil.de>
AuthorDate: Sun May 8 12:01:59 2022 +0200

    privoxy-log-parser: Highlight: 'Reducing the chunk offset from 1096654 to 32704 after discarding 1063950 bytes to make room in the buffer.'
---
 tools/privoxy-log-parser.pl | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/tools/privoxy-log-parser.pl b/tools/privoxy-log-parser.pl
index ea337523..3265ac72 100755
--- a/tools/privoxy-log-parser.pl
+++ b/tools/privoxy-log-parser.pl
@@ -1930,6 +1930,13 @@ sub handle_loglevel_connect($) {
         # The last 6945 bytes of the encrypted request body have been read.
         $c =~ s@(?<=The last )(\d+)@$h{'Number'}$1$h{'Standard'}@;
 
+    } elsif ($c =~ m/^Reducing the chunk offset from/) {
+
+        # Reducing the chunk offset from 1096654 to 32704 after discarding 1063950 bytes to make room in the buffer.
+        $c =~ s@(?<=\d to )(\d+)@$h{'Number'}$1$h{'Standard'}@;
+        $c =~ s@(?<=offset from )(\d+)@$h{'Number'}$1$h{'Standard'}@;
+        $c =~ s@(?<=after discarding )(\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