Skip to content

Commit

Permalink
Merge pull request #7 from kvar/master
Browse files Browse the repository at this point in the history
initialize $do_compress
  • Loading branch information
rjray committed Feb 6, 2014
2 parents fd84f87 + 154647c commit 856da31
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/RPC/XML/Server.pm
Expand Up @@ -874,6 +874,7 @@ sub process_request ## no critic (ProhibitExcessComplexity)
# Get a XML::Parser::ExpatNB object # Get a XML::Parser::ExpatNB object
$parser = $self->parser->parse(); $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 (($req->content_encoding || q{}) =~ $self->compress_re)
{ {
if (! $self->compress) if (! $self->compress)
Expand Down

0 comments on commit 856da31

Please sign in to comment.