projects
/
privoxy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
cc99a56
)
privoxy-log-parser: Highlight 'Client socket 21 is no longer usable. The server socke...
author
Fabian Keil
<fk@fabiankeil.de>
Sun, 3 Jul 2022 09:31:50 +0000
(11:31 +0200)
committer
Fabian Keil
<fk@fabiankeil.de>
Sun, 10 Jul 2022 05:55:55 +0000
(07:55 +0200)
tools/privoxy-log-parser.pl
patch
|
blob
|
history
diff --git
a/tools/privoxy-log-parser.pl
b/tools/privoxy-log-parser.pl
index
f27188c
..
5614a5e
100755
(executable)
--- a/
tools/privoxy-log-parser.pl
+++ b/
tools/privoxy-log-parser.pl
@@
-1939,6
+1939,11
@@
sub handle_loglevel_connect($) {
$c =~ s@(?<=after discarding )(\d+)@$h{'Number'}$1$h{'Standard'}@;
$c =~ s@(?<=after flushing )(\d+)@$h{'Number'}$1$h{'Standard'}@;
$c =~ s@(?<=after discarding )(\d+)@$h{'Number'}$1$h{'Standard'}@;
$c =~ s@(?<=after flushing )(\d+)@$h{'Number'}$1$h{'Standard'}@;
+ } elsif ($c =~ m/^Client socket \d+ is no longer usable/) {
+
+ # Client socket 21 is no longer usable. The server socket has been closed.
+ $c =~ s@(?<=Client 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