Edit report at https://bugs.php.net/bug.php?id=63271&edit=1

 ID:                 63271
 Patch added by:     ja...@php.net
 Reported by:        ja...@php.net
 Summary:            SOAP wsdl cache is not enabled after initial
                     requests
 Status:             Open
 Type:               Bug
 Package:            SOAP related
 Operating System:   Any
 PHP Version:        5.4Git-2012-10-13 (Git)
 Block user comment: N
 Private report:     N

 New Comment:

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


Previous Comments:
------------------------------------------------------------------------
[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

Reply via email to