projects
/
privoxy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
f3616f2
)
Accept and ignore "Connect: Unsetting keep-alive flag.".
author
Fabian Keil
<fk@fabiankeil.de>
Mon, 3 Nov 2008 16:31:56 +0000
(16:31 +0000)
committer
Fabian Keil
<fk@fabiankeil.de>
Mon, 3 Nov 2008 16:31:56 +0000
(16:31 +0000)
tools/privoxy-log-parser.pl
patch
|
blob
|
history
diff --git
a/tools/privoxy-log-parser.pl
b/tools/privoxy-log-parser.pl
index
f1a776b
..
aa70abb
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.11
8 2008/11/01 14:10:53
fk Exp $
+# $Id: privoxy-log-parser.pl,v 1.11
9 2008/11/03 16:30:50
fk 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
@@
-1473,9
+1473,11
@@
sub handle_loglevel_connect ($) {
$c =~ s@(?<=Actual content length: )(\d+)@$h{'Number'}$1$h{'Standard'}@;
$c =~ s@(?<=received: )(\d+)@$h{'Number'}$1$h{'Standard'}@;
$c =~ s@(?<=Actual content length: )(\d+)@$h{'Number'}$1$h{'Standard'}@;
$c =~ s@(?<=received: )(\d+)@$h{'Number'}$1$h{'Standard'}@;
- } elsif ($c =~ m/^Looks like we reached/) {
+ } elsif ($c =~ m/^Looks like we reached/ or
+ $c =~ m/^Unsetting keep-alive flag/) {
# Looks like we reached the end of the last chunk. We better stop reading.
# Looks like we reached the end of the last chunk. We better stop reading.
+ # Unsetting keep-alive flag.
} else {
} else {