Skip to content

Commit 16e9a5e

Browse files
committed
ext/soap: use new helper macro to fetch default stream context
1 parent 27fb106 commit 16e9a5e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/soap/soap.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1309,7 +1309,7 @@ PHP_METHOD(SoapServer, handle)
13091309
*/
13101310

13111311
sapi_add_header("Content-Type: text/xml; charset=utf-8", sizeof("Content-Type: text/xml; charset=utf-8")-1, 1);
1312-
php_stream_context *context = php_stream_context_from_zval(NULL, false);
1312+
php_stream_context *context = php_stream_context_get_default(false);
13131313
php_stream *stream = php_stream_open_wrapper_ex(service->sdl->source, "rb", REPORT_ERRORS, NULL, context);
13141314
if (stream) {
13151315
php_stream_passthru(stream);

0 commit comments

Comments
 (0)