Bug #63271 [NEW]: SOAP wsdl cache is not enabled after initial requests
| From: | jawed@php.net | Date: | Sat, 13 Oct 2012 05:46:41 +0000 |
| Subject: | Bug #63271 [NEW]: SOAP wsdl cache is not enabled after initial requests | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-174064@lists.php.net to get a copy of this message | ||
From: jawed
Operating system: Any
PHP version: 5.4Git-2012-10-13 (Git)
Package: SOAP related
Bug Type: Bug
Bug description:SOAP wsdl cache is not enabled after initial requests
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 bug report at https://bugs.php.net/bug.php?id=63271&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=63271&r=trysnapshot54
Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=63271&r=trysnapshot53
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=63271&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=63271&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=63271&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=63271&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=63271&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=63271&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=63271&r=support
Expected behavior: https://bugs.php.net/fix.php?id=63271&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=63271&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=63271&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=63271&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=63271&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=63271&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=63271&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=63271&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=63271&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=63271&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=63271&r=mysqlcfg