|
@@ 397-399 (lines=3) @@
|
| 394 |
|
if (function_exists('gzinflate') && in_array($contentEncoding, $this->accepted_compression)) { |
| 395 |
|
if ($contentEncoding == 'deflate' && $degzdata = @gzuncompress($data)) { |
| 396 |
|
$data = $degzdata; |
| 397 |
|
if ($this->debug > 1) { |
| 398 |
|
$this->debugmsg("\n+++INFLATED REQUEST+++[" . strlen($data) . " chars]+++\n" . $data . "\n+++END+++"); |
| 399 |
|
} |
| 400 |
|
} elseif ($contentEncoding == 'gzip' && $degzdata = @gzinflate(substr($data, 10))) { |
| 401 |
|
$data = $degzdata; |
| 402 |
|
if ($this->debug > 1) { |
|
@@ 402-404 (lines=3) @@
|
| 399 |
|
} |
| 400 |
|
} elseif ($contentEncoding == 'gzip' && $degzdata = @gzinflate(substr($data, 10))) { |
| 401 |
|
$data = $degzdata; |
| 402 |
|
if ($this->debug > 1) { |
| 403 |
|
$this->debugmsg("+++INFLATED REQUEST+++[" . strlen($data) . " chars]+++\n" . $data . "\n+++END+++"); |
| 404 |
|
} |
| 405 |
|
} else { |
| 406 |
|
$r = new Response(0, PhpXmlRpc::$xmlrpcerr['server_decompress_fail'], PhpXmlRpc::$xmlrpcstr['server_decompress_fail']); |
| 407 |
|
|