From: Fabian Keil Date: Tue, 22 Sep 2020 07:57:24 +0000 (+0200) Subject: privoxy-log-parser: Highlight 'Dropping the client connection on socket 71. The serve... X-Git-Tag: v_3_0_29~98 X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=commitdiff_plain;h=e34250c7b157d8fc601afc6ca7692175c0fc89ca privoxy-log-parser: Highlight 'Dropping the client connection on socket 71. The server connection has not been established yet.' --- 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