projects
/
privoxy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
94c8b5d
)
privoxy-log-parser: Highlight: 'Reducing the chunk offset from 1096654 to 32704 after...
author
Fabian Keil
<fk@fabiankeil.de>
Sun, 8 May 2022 10:01:59 +0000
(12:01 +0200)
committer
Fabian Keil
<fk@fabiankeil.de>
Fri, 10 Jun 2022 09:43:39 +0000
(11:43 +0200)
tools/privoxy-log-parser.pl
patch
|
blob
|
history
diff --git
a/tools/privoxy-log-parser.pl
b/tools/privoxy-log-parser.pl
index
ea33752
..
3265ac7
100755
(executable)
--- a/
tools/privoxy-log-parser.pl
+++ b/
tools/privoxy-log-parser.pl
@@
-1930,6
+1930,13
@@
sub handle_loglevel_connect($) {
# The last 6945 bytes of the encrypted request body have been read.
$c =~ s@(?<=The last )(\d+)@$h{'Number'}$1$h{'Standard'}@;
# The last 6945 bytes of the encrypted request body have been read.
$c =~ s@(?<=The last )(\d+)@$h{'Number'}$1$h{'Standard'}@;
+ } elsif ($c =~ m/^Reducing the chunk offset from/) {
+
+ # Reducing the chunk offset from 1096654 to 32704 after discarding 1063950 bytes to make room in the buffer.
+ $c =~ s@(?<=\d to )(\d+)@$h{'Number'}$1$h{'Standard'}@;
+ $c =~ s@(?<=offset from )(\d+)@$h{'Number'}$1$h{'Standard'}@;
+ $c =~ s@(?<=after discarding )(\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
} elsif ($c =~ m/^Looks like we / or
$c =~ m/^Unsetting keep-alive flag/ or
$c =~ m/^No connections to wait/ or