projects
/
privoxy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
dc283de
)
privoxy-log-parser: Highlight 'Giving up draining socket 35.'
master
author
Fabian Keil
<fk@fabiankeil.de>
Tue, 8 Jul 2025 18:16:55 +0000
(20:16 +0200)
committer
Fabian Keil
<fk@fabiankeil.de>
Thu, 17 Jul 2025 10:11:31 +0000
(12:11 +0200)
tools/privoxy-log-parser.pl
patch
|
blob
|
history
diff --git
a/tools/privoxy-log-parser.pl
b/tools/privoxy-log-parser.pl
index
3f173a4
..
2eaa1ff
100755
(executable)
--- a/
tools/privoxy-log-parser.pl
+++ b/
tools/privoxy-log-parser.pl
@@
-1840,6
+1840,11
@@
sub handle_loglevel_connect($) {
$c =~ s@(?<=Drained )(\d+)@$h{'Number'}$1$h{'Standard'}@;
$c =~ s@(?<=socket )(\d+)@$h{'Number'}$1$h{'Standard'}@;
$c =~ s@(?<=Drained )(\d+)@$h{'Number'}$1$h{'Standard'}@;
$c =~ s@(?<=socket )(\d+)@$h{'Number'}$1$h{'Standard'}@;
+ } elsif ($c =~ m/^Giving up draining socket \d+/) {
+
+ # Giving up draining socket 35.
+ $c =~ s@(?<=socket )(\d+)@$h{'Number'}$1$h{'Standard'}@;
+
} elsif ($c =~ m/^Tainting client socket/ or
$c =~ m/^Failed to shutdown socket/) {
} elsif ($c =~ m/^Tainting client socket/ or
$c =~ m/^Failed to shutdown socket/) {