From: Fabian Keil <fk@fabiankeil.de>
Date: Fri, 28 Aug 2020 08:34:40 +0000 (+0200)
Subject: privoxy-log-parser.pl: Accept and highlight 'Data arrived in time on client socket... 
X-Git-Tag: v_3_0_29~168
X-Git-Url: http://www.privoxy.org/gitweb/%22https:/user-manual/faq/static/gitweb.js?a=commitdiff_plain;h=024b3553d6552b7f9386c9f184ad2f0ec4ed744a;p=privoxy.git

privoxy-log-parser.pl: Accept and highlight 'Data arrived in time on client socket ...'

Sponsored by: Robert Klemme
---

diff --git a/tools/privoxy-log-parser.pl b/tools/privoxy-log-parser.pl
index 695fad68..b43dfe1b 100755
--- a/tools/privoxy-log-parser.pl
+++ b/tools/privoxy-log-parser.pl
@@ -1770,6 +1770,12 @@ sub handle_loglevel_connect($) {
         # Waiting for the next client connection. Currently active threads: 30
         $c =~ s@(?<=threads: )(\d+)@$h{'Number'}$1$h{'Standard'}@;
 
+    } elsif ($c =~ m/^Data arrived in time on client socket/) {
+
+        # Data arrived in time on client socket 6. Requests so far: 3
+        $c =~ s@(?<=client socket )(\d+)@$h{'Number'}$1$h{'Standard'}@;
+        $c =~ s@(?<=Requests so far: )(\d+)@$h{'Number'}$1$h{'Standard'}@;
+
     } elsif ($c =~ m/^Looks like we / or
              $c =~ m/^Unsetting keep-alive flag/ or
              $c =~ m/^No connections to wait/ or