SOAP SSL support doesn't work when allow_url_fopen is turned off
| From: | Wez Furlong | Date: | Wed, 27 Jul 2005 20:57:14 +0000 |
| Subject: | SOAP SSL support doesn't work when allow_url_fopen is turned off | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-17430@lists.php.net to get a copy of this message | ||
A bit of a WTF factor.
The reason is doesn't work is because php_stream_locate_url_wrapper()
respects allow_url_fopen(), and the soap code interprets failure as
"SSL not enabled in this build" which is wrong. It it passed in the
REPORT_ERRORS flag, the correct reason would be emitted or logged
somewhere.
There is currently no flag that can override the allow_url_fopen check
in php_stream_locate_url_wrapper. The question is: should we bypass
this check for SOAP?
If not, we need to tweak the docs and have the soap extension report a
more appropriate reason for failure.
--Wez.