[Privoxy-commits] [privoxy] 08/18: privoxy-log-parser: Deal with a log message containing only 'TLS' instead of 'TLS/SSL'

User Git git at git.privoxy.org
Tue Mar 31 09:21:01 CEST 2026


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

git pushed a commit to branch master
in repository privoxy.

commit deeb43dffe70c1e3623d3c2d8c15217c1d29401a
Author: Fabian Keil <fk at fabiankeil.de>
AuthorDate: Sat Mar 14 08:10:43 2026 +0100

    privoxy-log-parser: Deal with a log message containing only 'TLS' instead of 'TLS/SSL'
---
 tools/privoxy-log-parser.pl | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/tools/privoxy-log-parser.pl b/tools/privoxy-log-parser.pl
index db89ca59..9f417f33 100755
--- a/tools/privoxy-log-parser.pl
+++ b/tools/privoxy-log-parser.pl
@@ -23,7 +23,7 @@
 #         hash key as input.
 #       - Add --compress and --decompress options.
 #
-# Copyright (c) 2007-2025 Fabian Keil <fk at fabiankeil.de>
+# Copyright (c) 2007-2026 Fabian Keil <fk at fabiankeil.de>
 #
 # Permission to use, copy, modify, and distribute this software for any
 # purpose with or without fee is hereby granted, provided that the above
@@ -1873,8 +1873,11 @@ sub handle_loglevel_connect($) {
         $c =~ s@(?<=Flushed )(\d+)@$h{'Number'}$1$h{'Standard'}@;
         $c =~ s@(?<=expecting )(\d+)@$h{'Number'}$1$h{'Standard'}@;
 
-    } elsif ($c =~ m/^Performing the TLS\/SSL handshake with client. Hash of host:/) {
+    } elsif ($c =~ m/^Performing the TLS(?:\/SSL)? handshake with client. Hash of host:/) {
 
+        # >= 4.2.0:
+        # Performing the TLS handshake with client. Hash of host: bab5296b25e256c7b06b92b17b56bcae
+        # < 4.2.0:
         # Performing the TLS/SSL handshake with client. Hash of host: bab5296b25e256c7b06b92b17b56bcae
         $c = highlight_matched_host($c, '(?<=Hash of host: ).+');
 

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


More information about the Privoxy-commits mailing list