projects
/
privoxy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5d67369
)
privoxy-log-parser: Highlight 'Sending data on socket 33 over TLS/SSL failed: no...
author
Fabian Keil
<fk@fabiankeil.de>
Mon, 18 Jan 2021 14:01:55 +0000
(15:01 +0100)
committer
Fabian Keil
<fk@fabiankeil.de>
Tue, 19 Jan 2021 13:25:06 +0000
(14:25 +0100)
tools/privoxy-log-parser.pl
patch
|
blob
|
history
diff --git
a/tools/privoxy-log-parser.pl
b/tools/privoxy-log-parser.pl
index
02a38cd
..
c0b7790
100755
(executable)
--- a/
tools/privoxy-log-parser.pl
+++ b/
tools/privoxy-log-parser.pl
@@
-2072,6
+2072,12
@@
sub handle_loglevel_error($) {
# Didn't receive data in time: a.fsdn.com:443
$c =~ s@(?<=in time: )(.*)@$h{'destination'}$1$h{'Standard'}@;
+
+ } elsif ($c =~ m/^Sending data on socket \d+ over TLS/) {
+
+ # Sending data on socket 33 over TLS/SSL failed: no TLS/SSL errors detected
+ $c =~ s@(?<=on socket )(\d+)@$h{'Number'}$1$h{'Standard'}@;
+
}
# XXX: There are probably more messages that deserve highlighting.