privoxy-log-parser: Highlight 'Failed to accept() incoming connection: Software cause...
authorFabian Keil <fk@fabiankeil.de>
Mon, 16 Oct 2023 19:10:31 +0000 (21:10 +0200)
committerFabian Keil <fk@fabiankeil.de>
Thu, 16 Nov 2023 13:25:56 +0000 (14:25 +0100)
tools/privoxy-log-parser.pl

index c58726c..b76899d 100755 (executable)
@@ -1574,6 +1574,11 @@ sub handle_loglevel_connect($) {
 
         $c =~ s@(?<=accept failed: )(.*)@$h{'Error'}$1$h{'Standard'}@;
 
+    } elsif ($c =~ m/^Failed to accept\(\) incoming connection:/) {
+
+        # Failed to accept() incoming connection: Software caused connection abort
+        $c =~ s@(?<=connection: )(.*)@$h{'Error'}$1$h{'Standard'}@;
+
     } elsif ($c =~ m/^Overriding forwarding settings/) {
 
         # Overriding forwarding settings based on 'forward 10.0.0.1:8123'