projects
/
privoxy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
2c2e364
)
Accept and highlight: Drained 180 bytes before closing socket 6
author
Fabian Keil
<fk@fabiankeil.de>
Sun, 21 Oct 2012 13:06:20 +0000
(13:06 +0000)
committer
Fabian Keil
<fk@fabiankeil.de>
Sun, 21 Oct 2012 13:06:20 +0000
(13:06 +0000)
tools/privoxy-log-parser.pl
patch
|
blob
|
history
diff --git
a/tools/privoxy-log-parser.pl
b/tools/privoxy-log-parser.pl
index
e947243
..
72bd36d
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.14
1 2012/10/21 13:00:56
fabiankeil Exp $
+# $Id: privoxy-log-parser.pl,v 1.14
2 2012/10/21 13:05:51
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
@@
-1707,6
+1707,12
@@
sub handle_loglevel_connect ($) {
# Stopping to watch the client socket 5. There's already another request waiting.
$c =~ s@(?<=client socket )(\d+)@$h{'Number'}$1$h{'Standard'}@;
# Stopping to watch the client socket 5. There's already another request waiting.
$c =~ s@(?<=client socket )(\d+)@$h{'Number'}$1$h{'Standard'}@;
+ } elsif ($c =~ m/^Drained \d+ bytes before closing/) {
+
+ # Drained 180 bytes before closing socket 6
+ $c =~ s@(?<=Drained )(\d+)@$h{'Number'}$1$h{'Standard'}@;
+ $c =~ s@(?<=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
} elsif ($c =~ m/^Looks like we / or
$c =~ m/^Unsetting keep-alive flag/ or
$c =~ m/^No connections to wait/ or