Skip to content

initialize $do_compress #7

Merged
merged 1 commit into from Feb 6, 2014
View
1 lib/RPC/XML/Server.pm
@@ -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)
Something went wrong with that request. Please try again.