projects
/
privoxy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
0f04395
)
Highlight: Done reading from server. Content length: 6018 as expected. Bytes most...
author
Fabian Keil
<fk@fabiankeil.de>
Sat, 12 Sep 2009 12:38:14 +0000
(12:38 +0000)
committer
Fabian Keil
<fk@fabiankeil.de>
Sat, 12 Sep 2009 12:38:14 +0000
(12:38 +0000)
tools/privoxy-log-parser.pl
patch
|
blob
|
history
diff --git
a/tools/privoxy-log-parser.pl
b/tools/privoxy-log-parser.pl
index
899b16c
..
86a1a6e
100755
(executable)
--- a/
tools/privoxy-log-parser.pl
+++ b/
tools/privoxy-log-parser.pl
@@
-8,7
+8,7
@@
#
# http://www.fabiankeil.de/sourcecode/privoxy-log-parser/
#
#
# http://www.fabiankeil.de/sourcecode/privoxy-log-parser/
#
-# $Id: privoxy-log-parser.pl,v 1.4
8 2009/09/12 12:36:02
fabiankeil Exp $
+# $Id: privoxy-log-parser.pl,v 1.4
9 2009/09/12 12:36:53
fabiankeil Exp $
#
# TODO:
# - LOG_LEVEL_CGI, LOG_LEVEL_ERROR, LOG_LEVEL_WRITE content highlighting
#
# TODO:
# - LOG_LEVEL_CGI, LOG_LEVEL_ERROR, LOG_LEVEL_WRITE content highlighting
@@
-1538,8
+1538,9
@@
sub handle_loglevel_connect ($) {
# 3.0.15 and later:
# Done reading from server. Expected content length: 24892. \
# Actual content length: 24892. Bytes most recently read: 4412.
# 3.0.15 and later:
# Done reading from server. Expected content length: 24892. \
# Actual content length: 24892. Bytes most recently read: 4412.
- $c =~ s@(?<=Expected content length: )(\d+)@$h{'Number'}$1$h{'Standard'}@;
- $c =~ s@(?<=Actual content length: )(\d+)@$h{'Number'}$1$h{'Standard'}@;
+ # Done reading from server. Content length: 6018 as expected. \
+ # Bytes most recently read: 294.
+ $c =~ s@(?<=ontent length: )(\d+)@$h{'Number'}$1$h{'Standard'}@g;
$c =~ s@(?<=received: )(\d+)@$h{'Number'}$1$h{'Standard'}@;
$c =~ s@(?<=read: )(\d+)@$h{'Number'}$1$h{'Standard'}@;
$c =~ s@(?<=received: )(\d+)@$h{'Number'}$1$h{'Standard'}@;
$c =~ s@(?<=read: )(\d+)@$h{'Number'}$1$h{'Standard'}@;