SoapServer::handle some times does not call php_end_ob_buffer
| From: | Konstantin Leboev | Date: | Wed, 20 Apr 2011 13:29:01 +0000 |
| Subject: | SoapServer::handle some times does not call php_end_ob_buffer | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-51946@lists.php.net to get a copy of this message | ||
Hi all,
In some cases SoapServer::handle does not call php_end_ob_buffer and I can
not call it from php. For example:
class A {
}
$s = new SoapServer("wsdl.wsdl");
$s->setClass("A");
ob_start();
var_dump(ob_get_level()); // int(1)
$s->handle();
var_dump(ob_get_level()); // int(2)
echo ob_get_clean(); // Notice: ob_get_clean(): failed to delete buffer
default output handler
1. When method handle() called without arguments and it is not POST method
2. When unknown compression used or we can't uncompress compressed request.
--
Regards,
Konstantin