projects
/
privoxy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
d0a9e3c
)
Properly highlight: Empty server or forwarder response received on socket 3. Closing...
author
Fabian Keil
<fk@fabiankeil.de>
Tue, 10 Nov 2009 16:19:38 +0000
(16:19 +0000)
committer
Fabian Keil
<fk@fabiankeil.de>
Tue, 10 Nov 2009 16:19:38 +0000
(16:19 +0000)
tools/privoxy-log-parser.pl
patch
|
blob
|
history
diff --git
a/tools/privoxy-log-parser.pl
b/tools/privoxy-log-parser.pl
index
2899338
..
d32a838
100755
(executable)
--- a/
tools/privoxy-log-parser.pl
+++ b/
tools/privoxy-log-parser.pl
@@
-8,7
+8,7
@@
#
# http://www.fabiankeil.de/sourcecode/privoxy-log-parser/
#
#
# http://www.fabiankeil.de/sourcecode/privoxy-log-parser/
#
-# $Id: privoxy-log-parser.pl,v 1.5
7 2009/10/10 05:50:02
fabiankeil Exp $
+# $Id: privoxy-log-parser.pl,v 1.5
8 2009/10/31 10:14:07
fabiankeil Exp $
#
# TODO:
# - LOG_LEVEL_CGI, LOG_LEVEL_ERROR, LOG_LEVEL_WRITE content highlighting
#
# TODO:
# - LOG_LEVEL_CGI, LOG_LEVEL_ERROR, LOG_LEVEL_WRITE content highlighting
@@
-1851,7
+1851,10
@@
sub handle_loglevel_error ($) {
if ($c =~ m/^Empty server or forwarder response received on socket \d+./) {
# Empty server or forwarder response received on socket 4.
if ($c =~ m/^Empty server or forwarder response received on socket \d+./) {
# Empty server or forwarder response received on socket 4.
+ # Empty server or forwarder response received on socket 3. \
+ # Closing client socket 15 without sending data.
$c =~ s@(?<=on socket )(\d+)@$h{'Number'}$1$h{'Standard'}@;
$c =~ s@(?<=on socket )(\d+)@$h{'Number'}$1$h{'Standard'}@;
+ $c =~ s@(?<=client socket )(\d+)@$h{'Number'}$1$h{'Standard'}@;
}
# XXX: There are probably more messages that deserve highlighting.
}
# XXX: There are probably more messages that deserve highlighting.