projects
/
privoxy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
b2ddd8d
)
privoxy-log-parser: Highlight 'The peer notified us that the connection on socket...
author
Fabian Keil
<fk@fabiankeil.de>
Mon, 15 Mar 2021 21:05:23 +0000
(22:05 +0100)
committer
Fabian Keil
<fk@fabiankeil.de>
Sun, 21 Mar 2021 06:58:53 +0000
(07:58 +0100)
tools/privoxy-log-parser.pl
patch
|
blob
|
history
diff --git
a/tools/privoxy-log-parser.pl
b/tools/privoxy-log-parser.pl
index
193b8a6
..
78e7aa5
100755
(executable)
--- a/
tools/privoxy-log-parser.pl
+++ b/
tools/privoxy-log-parser.pl
@@
-1890,6
+1890,11
@@
sub handle_loglevel_connect($) {
# Complete client request followed by 59 bytes of pipelined data received.
$c =~ s@(?<=followed by )(\d+)@$h{'Number'}$1$h{'Standard'}@;
# Complete client request followed by 59 bytes of pipelined data received.
$c =~ s@(?<=followed by )(\d+)@$h{'Number'}$1$h{'Standard'}@;
+ } elsif ($c =~ m/^The peer notified us that the connection on socket/) {
+
+ # The peer notified us that the connection on socket 11 is going to be closed
+ $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