[Privoxy-commits] [privoxy] 01/05: privoxy-log-parser: Highlight 'Client socket 21 is no longer usable. The server socket has been closed.'

User Git git at git.privoxy.org
Sun Jul 10 05:55:28 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 dcf1075abb4c45eea6b7a6b924c4a28ba404b2a2
Author: Fabian Keil <fk at fabiankeil.de>
AuthorDate: Sun Jul 3 11:31:50 2022 +0200

    privoxy-log-parser: Highlight 'Client socket 21 is no longer usable. The server socket has been closed.'
---
 tools/privoxy-log-parser.pl | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/tools/privoxy-log-parser.pl b/tools/privoxy-log-parser.pl
index f27188c4..5614a5e5 100755
--- a/tools/privoxy-log-parser.pl
+++ b/tools/privoxy-log-parser.pl
@@ -1939,6 +1939,11 @@ sub handle_loglevel_connect($) {
         $c =~ s@(?<=after discarding )(\d+)@$h{'Number'}$1$h{'Standard'}@;
         $c =~ s@(?<=after flushing )(\d+)@$h{'Number'}$1$h{'Standard'}@;
 
+    } elsif ($c =~ m/^Client socket \d+ is no longer usable/) {
+
+        # Client socket 21 is no longer usable. The server socket has been closed.
+        $c =~ s@(?<=Client socket )(\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

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


More information about the Privoxy-commits mailing list