privoxy-log-parser: Clarify the --statistics ouput
authorFabian Keil <fk@fabiankeil.de>
Mon, 22 Feb 2021 13:26:27 +0000 (14:26 +0100)
committerFabian Keil <fk@fabiankeil.de>
Wed, 24 Feb 2021 08:55:35 +0000 (09:55 +0100)
The shown "Reused connections" are server connections so
name them appropriately.

tools/privoxy-log-parser.pl

index 0ce7ffb..193b8a6 100755 (executable)
@@ -2389,7 +2389,7 @@ sub print_stats() {
         get_percentage($requests_total, $stats{'server-keep-alive'}) . ")\n";
     print "New outgoing connections: " . $new_connections . " (" .
         get_percentage($requests_total, $new_connections) . ")\n";
-    print "Reused connections: " . $stats{'reused-connections'} . " (" .
+    print "Reused server connections: " . $stats{'reused-connections'} . " (" .
         get_percentage($requests_total, $stats{'reused-connections'}) .
         "; server offers accepted: " .
         get_percentage($stats{'server-keep-alive'}, $stats{'reused-connections'}) . ")\n";