projects
/
privoxy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
93d6a9f
)
Fix a bug in handle_loglevel_header() where a 'scan: ' got lost.
author
Fabian Keil
<fk@fabiankeil.de>
Sat, 28 Aug 2010 12:55:47 +0000
(12:55 +0000)
committer
Fabian Keil
<fk@fabiankeil.de>
Sat, 28 Aug 2010 12:55:47 +0000
(12:55 +0000)
tools/privoxy-log-parser.pl
patch
|
blob
|
history
diff --git
a/tools/privoxy-log-parser.pl
b/tools/privoxy-log-parser.pl
index
adf75ac
..
db1b415
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.8
6 2010/07/26 11:28:52
fabiankeil Exp $
+# $Id: privoxy-log-parser.pl,v 1.8
7 2010/07/29 14:27:43
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
@@
-804,15
+804,10
@@
sub handle_loglevel_header ($) {
update_header_highlight_regex($header);
}
update_header_highlight_regex($header);
}
- } elsif ($c =~ m/^
scan: ((\w+) (.+) (HTTP\/\d\.\d)
)/) {
+ } elsif ($c =~ m/^
(scan: )(\w+ .+ HTTP\/\d\.\d
)/) {
- # Client request line
- # Save for statistics (XXX: Not implemented yet)
- $req{$t}{'method'} = $2;
- $req{$t}{'destination'} = $3;
- $req{$t}{'http-version'} = $4;
-
- $c = highlight_request_line($1);
+ # scan: HTTP/1.1 200 OK
+ $c = $1 . highlight_request_line($2);
} elsif ($c =~ m/^(scan: )((?:HTTP\/\d\.\d|ICY) (\d+) (.*))/) {
} elsif ($c =~ m/^(scan: )((?:HTTP\/\d\.\d|ICY) (\d+) (.*))/) {