X-Git-Url: http://www.privoxy.org/gitweb/?a=blobdiff_plain;f=tools%2Fprivoxy-log-parser.pl;h=cbf4d437bb0e06c95eecf4c80b803596b6240cad;hb=d10c062399534f3619e2cf10d7c768037596333b;hp=ab4b2f1a45d6d225abc20a4a8c8079f73d993f91;hpb=a13c0e8f98f4c0d8a90c43415fa42e9cfb3846cb;p=privoxy.git diff --git a/tools/privoxy-log-parser.pl b/tools/privoxy-log-parser.pl index ab4b2f1a..cbf4d437 100755 --- a/tools/privoxy-log-parser.pl +++ b/tools/privoxy-log-parser.pl @@ -8,7 +8,7 @@ # # http://www.fabiankeil.de/sourcecode/privoxy-log-parser/ # -# $Id: privoxy-log-parser.pl,v 1.146 2009/05/25 19:10:20 fk Exp $ +# $Id: privoxy-log-parser.pl,v 1.148 2009/06/11 18:19:11 fk Exp $ # # TODO: # - LOG_LEVEL_CGI, LOG_LEVEL_ERROR, LOG_LEVEL_WRITE content highlighting @@ -370,7 +370,7 @@ sub get_missing_css_lines () { my $css_line; - $css_line .= '.' . 'default' . ' {'; # XXX: lc() shouldn't be necessary + $css_line .= '.' . 'default' . ' {'; $css_line .= 'color:' . HEADER_DEFAULT_COLOUR . ';'; $css_line .= 'background-color:' . get_css_colour(DEFAULT_BACKGROUND) . ';'; $css_line .= '}' . "\n"; @@ -913,6 +913,7 @@ sub handle_loglevel_header ($) { or $c =~ m/A HTTP\/1\.1 response without/ or $c =~ m/Disabled filter mode on behalf of the client/ or $c =~ m/Keeping the (?:server|client) header / + or $c =~ m/Content modified with no Content-Length header set/ ) { # XXX: Some of these may need highlighting @@ -954,6 +955,7 @@ sub handle_loglevel_header ($) { # Keeping the server header 'Connection: keep-alive' around. # Keeping the client header 'Connection: close' around. The connection will not be kept alive. # Keeping the client header 'Connection: keep-alive' around. The connection will be kept alive if possible. + # Content modified with no Content-Length header set. Creating a fake one for adjustment later on. } elsif ($c =~ m/^scanning headers for:/) {