Bug #63271 [Asn->Csd]: SOAP wsdl cache is not enabled after initial requests

From: Date: Thu, 29 Nov 2012 12:45:14 +0000
Subject: Bug #63271 [Asn->Csd]: SOAP wsdl cache is not enabled after initial requests
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-175029@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=63271&edit=1 ID: 63271 Updated by: dmitry@php.net Reported by: jawed@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 dmitry@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] jawed@php.net Pull request: https://github.com/php/php-src/pull/215 ------------------------------------------------------------------------ [2012-10-13 05:47:01] jawed@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] jawed@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

« previous php.bugs (#175029) next »