From: Fabian Keil Date: Wed, 21 Jul 2010 14:40:42 +0000 (+0000) Subject: Accept and ignore: Looks like we got the last chunk together with the server headers... X-Git-Tag: v_3_0_17~121 X-Git-Url: http://www.privoxy.org/gitweb/%22https:/developer-manual/static/@default-cgi@toggle?a=commitdiff_plain;h=897ce665c265efdad1254d8c8d9cc30e4d52a50b;p=privoxy.git Accept and ignore: Looks like we got the last chunk together with the server headers. We better stop reading. --- diff --git a/tools/privoxy-log-parser.pl b/tools/privoxy-log-parser.pl index 962958e9..0acec312 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.79 2010/05/30 16:44:25 fabiankeil Exp $ +# $Id: privoxy-log-parser.pl,v 1.80 2010/07/21 14:40:09 fabiankeil Exp $ # # TODO: # - LOG_LEVEL_CGI, LOG_LEVEL_ERROR, LOG_LEVEL_WRITE content highlighting @@ -1624,7 +1624,7 @@ sub handle_loglevel_connect ($) { # Waiting for up to 4999 bytes from the client. $c =~ s@(?<=up to )(\d+)@$h{'Number'}$1$h{'Standard'}@; - } elsif ($c =~ m/^Looks like we rea/ or + } elsif ($c =~ m/^Looks like we / or $c =~ m/^Unsetting keep-alive flag/ or $c =~ m/^No connections to wait/ or $c =~ m/^Complete client request received/ or @@ -1639,6 +1639,8 @@ sub handle_loglevel_connect ($) { # Looks like we reached the end of the last chunk. We better stop reading. # Looks like we read the end of the last chunk together with the server \ # headers. We better stop reading. + # Looks like we got the last chunk together with the server headers. \ + # We better stop reading. # Unsetting keep-alive flag. # No connections to wait for left. # Client request arrived in time or the client closed the connection.