From 4fe4a728a973dea0fd69e57c0f6905914bbdbc60 Mon Sep 17 00:00:00 2001 From: Fabian Keil Date: Mon, 11 Jan 2021 08:48:39 +0100 Subject: [PATCH] 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 -- 2.39.2