From: Fabian Keil Date: Mon, 15 Feb 2021 17:21:25 +0000 (+0100) Subject: privoxy-log-parser: Higlight 'Dropping the client connection on socket 23 with server... X-Git-Tag: v_3_0_32~36 X-Git-Url: http://www.privoxy.org/gitweb/show-status?a=commitdiff_plain;h=6d016c7cefab6faf3f8d21a964a0cd45647d36d4;p=privoxy.git privoxy-log-parser: Higlight 'Dropping the client connection on socket 23 with server socket 24 connected to reddit.com. The forwarder has changed.' --- diff --git a/tools/privoxy-log-parser.pl b/tools/privoxy-log-parser.pl index 482edf9a..e7f29c62 100755 --- a/tools/privoxy-log-parser.pl +++ b/tools/privoxy-log-parser.pl @@ -1863,7 +1863,11 @@ sub handle_loglevel_connect($) { } elsif ($c =~ m/^Dropping the client connection on socket/) { # Dropping the client connection on socket 71. The server connection has not been established yet. + # Dropping the client connection on socket 23 with server socket 24 connected to \ + # www.reddit.com. The forwarder has changed. $c =~ s@(?<=on socket )(\d+)@$h{'Number'}$1$h{'Standard'}@; + $c =~ s@(?<=server socket )(\d+)@$h{'Number'}$1$h{'Standard'}@; + $c = highlight_matched_host($c, '(?<=connected to )[^ ]+(?=\.)'); } elsif ($c =~ m/^The client socket \d+ has become unusable while the server/) {