projects
/
privoxy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
a9937fa
)
privoxy-log-parser: Highlight 'Client socket 7 is no longer usable. The server socket...
author
Fabian Keil
<fk@fabiankeil.de>
Fri, 26 Mar 2021 19:12:38 +0000
(20:12 +0100)
committer
Fabian Keil
<fk@fabiankeil.de>
Wed, 10 Nov 2021 02:20:09 +0000
(
03:20
+0100)
tools/privoxy-log-parser.pl
patch
|
blob
|
history
diff --git
a/tools/privoxy-log-parser.pl
b/tools/privoxy-log-parser.pl
index
04d5865
..
1c2a5be
100755
(executable)
--- a/
tools/privoxy-log-parser.pl
+++ b/
tools/privoxy-log-parser.pl
@@
-1895,6
+1895,11
@@
sub handle_loglevel_connect($) {
# The peer notified us that the connection on socket 11 is going to be closed
$c =~ s@(?<=socket )(\d+)@$h{'Number'}$1$h{'Standard'}@;
# 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/^Client socket \d is no longer usable/) {
+
+ # Client socket 7 is no longer usable. The server socket has been 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