[Privoxy-commits] [privoxy] 01/05: privoxy-log-parser: Highlight 'The socks connection timed out after 60 seconds.'

User Git git at git.privoxy.org
Sun Apr 17 08:23:02 UTC 2022


This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository privoxy.

commit c3b346083a90acd4dcdfc3881dbcc47a92d1a400
Author: Fabian Keil <fk at fabiankeil.de>
AuthorDate: Sun Apr 17 03:33:22 2022 +0200

    privoxy-log-parser: Highlight 'The socks connection timed out after 60 seconds.'
---
 tools/privoxy-log-parser.pl | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/tools/privoxy-log-parser.pl b/tools/privoxy-log-parser.pl
index 0b0a4dc0..9d5e6de0 100755
--- a/tools/privoxy-log-parser.pl
+++ b/tools/privoxy-log-parser.pl
@@ -2156,6 +2156,10 @@ sub handle_loglevel_error($) {
         $c =~ s@(?<=digested )(\d+)@$h{'Number'}$1$h{'Standard'}@;
         $c =~ s@(?<=of )(\d+)@$h{'Number'}$1$h{'Standard'}@;
 
+    } elsif ($c =~ m/^The socks connection timed out after/) {
+
+        # The socks connection timed out after 60 seconds.
+        $c =~ s@(?<=after )(\d+)@$h{'Number'}$1$h{'Standard'}@;
     }
 
     # XXX: There are probably more messages that deserve highlighting.

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Privoxy-commits mailing list