Permalink
Browse files

initialize $do_compress to 0 before checking whether the request is c…

…ompressed
  • Loading branch information...
1 parent 253ec4b commit 154647ca37f10e06722a0567068dab571e7502da @kvar committed May 8, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/RPC/XML/Server.pm
View
@@ -841,6 +841,7 @@ sub process_request ## no critic (ProhibitExcessComplexity)
# Get a XML::Parser::ExpatNB object
$parser = $self->parser->parse();
+ $do_compress = 0; # in case it was set for a previous response
if (($req->content_encoding || q{}) =~ $self->compress_re)
{
if (! $self->compress)

0 comments on commit 154647c

Please sign in to comment.