From e34250c7b157d8fc601afc6ca7692175c0fc89ca Mon Sep 17 00:00:00 2001 From: Fabian Keil Date: Tue, 22 Sep 2020 09:57:24 +0200 Subject: [PATCH] privoxy-log-parser: Highlight 'Dropping the client connection on socket 71. The server connection has not been established yet.' --- 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 10a5b3e8..77296267 100755 --- a/tools/privoxy-log-parser.pl +++ b/tools/privoxy-log-parser.pl @@ -1778,6 +1778,11 @@ sub handle_loglevel_connect($) { $c =~ s@(?<=client socket )(\d+)@$h{'Number'}$1$h{'Standard'}@; $c =~ s@(?<=Requests so far: )(\d+)@$h{'Number'}$1$h{'Standard'}@; + } elsif ($c =~ m/^Dropping the client connection on socket/) { + + # Dropping the client connection on socket 71. The server connection has not been established yet. + $c =~ s@(?<=on 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