From: Fabian Keil Date: Tue, 22 Sep 2020 11:33:51 +0000 (+0200) Subject: privoxy-log-parser: Highlight 'The client socket 16 has become unusable while the... X-Git-Tag: v_3_0_29~97 X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=commitdiff_plain;h=b5ce79b11f3159a17e6c519b1eb95b50d3fac350 privoxy-log-parser: Highlight 'The client socket 16 has become unusable while the server socket 24 is still open.' --- diff --git a/tools/privoxy-log-parser.pl b/tools/privoxy-log-parser.pl index 77296267..dce3b315 100755 --- a/tools/privoxy-log-parser.pl +++ b/tools/privoxy-log-parser.pl @@ -1783,6 +1783,12 @@ sub handle_loglevel_connect($) { # 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/^The client socket \d+ has become unusable while the server/) { + + # The client socket 16 has become unusable while the server socket 24 is still open. + $c =~ s@(?<=client socket )(\d+)@$h{'Number'}$1$h{'Standard'}@; + $c =~ s@(?<=server 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