From: Fabian Keil Date: Sat, 12 Nov 2011 12:55:46 +0000 (+0000) Subject: Highlight: Didn't receive data in time: a.fsdn.com:443 X-Git-Tag: v_3_0_18~31 X-Git-Url: http://www.privoxy.org/gitweb/user-manual/copyright.html?a=commitdiff_plain;h=627ea1d2ee60372d6cc40a2ae35dc2dc01ace5d5;p=privoxy.git Highlight: Didn't receive data in time: a.fsdn.com:443 --- diff --git a/tools/privoxy-log-parser.pl b/tools/privoxy-log-parser.pl index 0807186d..84036024 100755 --- a/tools/privoxy-log-parser.pl +++ b/tools/privoxy-log-parser.pl @@ -8,7 +8,7 @@ # # http://www.fabiankeil.de/sourcecode/privoxy-log-parser/ # -# $Id: privoxy-log-parser.pl,v 1.120 2011/06/29 20:29:12 fabiankeil Exp $ +# $Id: privoxy-log-parser.pl,v 1.121 2011/08/18 11:41:18 fabiankeil Exp $ # # TODO: # - LOG_LEVEL_CGI, LOG_LEVEL_ERROR, LOG_LEVEL_WRITE content highlighting @@ -1875,7 +1875,13 @@ sub handle_loglevel_error ($) { # Closing client socket 15 without sending data. $c =~ s@(?<=on socket )(\d+)@$h{'Number'}$1$h{'Standard'}@; $c =~ s@(?<=client socket )(\d+)@$h{'Number'}$1$h{'Standard'}@; + + } elsif ($c =~ m/^Didn't receive data in time:/) { + + # Didn't receive data in time: a.fsdn.com:443 + $c =~ s@(?<=in time: )(.*)@$h{'destination'}$1$h{'Standard'}@; } + # XXX: There are probably more messages that deserve highlighting. return $c;