Edit report at https://bugs.php.net/bug.php?id=63271&edit=1
ID: 63271 Updated by: dmi...@php.net Reported by: ja...@php.net Summary: SOAP wsdl cache is not enabled after initial requests -Status: Assigned +Status: Closed Type: Bug Package: SOAP related Operating System: Any PHP Version: 5.4Git-2012-10-13 (Git) Assigned To: dmitry Block user comment: N Private report: N New Comment: Automatic comment on behalf of dmi...@zend.com Revision: http://git.php.net/?p=php-src.git;a=commit;h=dc2192c08766939700260128684255772ba4296f Log: Fixed bug #63271 (SOAP wsdl cache is not enabled after initial requests) Previous Comments: ------------------------------------------------------------------------ [2012-10-13 05:50:10] ja...@php.net Pull request: https://github.com/php/php-src/pull/215 ------------------------------------------------------------------------ [2012-10-13 05:47:01] ja...@php.net The following patch has been added/updated: Patch Name: 0001-Fix-SOAP-wsdl-cache-failing-to-look-at-mem_cache.patch Revision: 1350107221 URL: https://bugs.php.net/patch-display.php?bug=63271&patch=0001-Fix-SOAP-wsdl-cache-failing-to-look-at-mem_cache.patch&revision=1350107221 ------------------------------------------------------------------------ [2012-10-13 05:46:41] ja...@php.net Description: ------------ SOAP wsdl cache is not enabled after initial requests because the OnUpdateCacheEnabled is not always called per request context. Because of this, SOAP_GLOBAL(cache) is almost always "0" and WSDL caching is disabled. WSDL caching is enabled and the caching type is set to WSDL_CACHE_MEMORY (although the cache type doesn't matter). Expected result: ---------------- On subsequent requests after MINIT ext/soap returns the persistent sdlPtr. Actual result: -------------- On subsequent requests after MINIT ext/soap does not return the persistent sdlPtr because SOAP_GLOBAL(cache) is 0 (even though the sdlPtr exists in SOAP_GLOBAL(mem_cache)). ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=63271&edit=1