privoxy-log-parser: Highlight: Socket 8 timed out while waiting for client headers
authorFabian Keil <fk@fabiankeil.de>
Fri, 12 Sep 2025 10:25:15 +0000 (12:25 +0200)
committerFabian Keil <fk@fabiankeil.de>
Thu, 9 Oct 2025 09:51:07 +0000 (11:51 +0200)
tools/privoxy-log-parser.pl

index 2eaa1ff..06564c6 100755 (executable)
@@ -1937,6 +1937,11 @@ sub handle_loglevel_connect($) {
         $c =~ s@(?<=timeout )(\d+)@$h{'Number'}$1$h{'Standard'}@;
         $c = highlight_matched_url($c, "(?<=reached: ).*")
 
+    } elsif ($c =~ m/^Socket \d+ timed out/) {
+
+        # Socket 8 timed out while waiting for client headers.
+        $c =~ s@(?<=Socket )(\d+)@$h{'Number'}$1$h{'Standard'}@;
+
     } elsif ($c =~ m/^Prepared to read up to /) {
 
         # Prepared to read up to 157 bytes of encrypted request body from the client.