From 30cb9a4ab4e11889f7416f4b15b3f74950b96f07 Mon Sep 17 00:00:00 2001 From: Fabian Keil Date: Mon, 1 Apr 2024 13:31:20 +0200 Subject: [PATCH] privoxy-log-parser: Highlight 'Not shutting down client connection on socket 8. The socket is no longer alive.' --- 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 6dc5450a..ae18c57e 100755 --- a/tools/privoxy-log-parser.pl +++ b/tools/privoxy-log-parser.pl @@ -1976,6 +1976,11 @@ sub handle_loglevel_connect($) { $c =~ s@(?<=offset at )(\d+)@$h{'Number'}$1$h{'Standard'}@; $c =~ s@(?<=flushing )(\d+)@$h{'Number'}$1$h{'Standard'}@; + } elsif ($c =~ m/^Not shutting down client connection on/) { + + # Not shutting down client connection on socket 8. The socket is no longer alive. + $c =~ s@(?<=socket )(\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