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

From: Date: Sun, 28 Oct 2012 20:13:46 +0000
Subject: Bug #63271 [Opn->Asn]: SOAP wsdl cache is not enabled after initial requests
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-174390@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: felipe@php.net Reported by: jawed@php.net Summary: SOAP wsdl cache is not enabled after initial requests -Status: Open +Status: Assigned Type: Bug Package: SOAP related Operating System: Any PHP Version: 5.4Git-2012-10-13 (Git) -Assigned To: +Assigned To: dmitry Block user comment: N Private report: N 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 (#174390) next »