[Privoxy-commits] [privoxy] 07/46: privoxy-log-parser.pl: Let gather_loglevel_clf_stats() tolerate another 'invalid' log message

User Git git at git.privoxy.org
Sun Feb 21 15:10:29 UTC 2021


This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository privoxy.

commit 9e4173b5fa821e75adb40b725d92074e99ed7177
Author: Fabian Keil <fk at fabiankeil.de>
AuthorDate: Fri Feb 5 05:13:29 2021 +0100

    privoxy-log-parser.pl: Let gather_loglevel_clf_stats() tolerate another 'invalid' log message
---
 tools/privoxy-log-parser.pl | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tools/privoxy-log-parser.pl b/tools/privoxy-log-parser.pl
index 694d5fe7..ed574c7f 100755
--- a/tools/privoxy-log-parser.pl
+++ b/tools/privoxy-log-parser.pl
@@ -2149,6 +2149,8 @@ sub gather_loglevel_clf_stats($) {
     unless (defined $method) {
         # +0200] "Invalid request" 400 0
         return if ($content =~ m/^[+-]\d{4}\] "Invalid request"/);
+        # +0100] "Failed reading chunked client body" 400 0
+        return if ($content =~ m/^[+-]\d{4}\] "Failed reading chunked client body"/);
         # +0100] "GET https://securepubads.g.doubleclick.net/gampad/ads?gd[...]... [too long, truncated]
         if ($content =~ m/\[too long, truncated\]$/) {
             print("Skipped LOG_LEVEL_CLF message that got truncated by Privoxy. Statistics will be inprecise.\n");

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


More information about the Privoxy-commits mailing list