We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b720ab9 commit 32c7c43Copy full SHA for 32c7c43
ext/soap/php_http.c
@@ -672,9 +672,9 @@ int make_http_soap_request(zval *this_ptr,
672
if (UNEXPECTED(php_random_bytes_throw(&nonce, sizeof(nonce)) != SUCCESS)) {
673
ZEND_ASSERT(EG(exception));
674
php_stream_close(stream);
675
- convert_to_null(Z_CLIENT_HTTPURL_P(this_ptr));
676
- convert_to_null(Z_CLIENT_HTTPSOCKET_P(this_ptr));
677
- convert_to_null(Z_CLIENT_USE_PROXY_P(this_ptr));
+ zend_hash_str_del(Z_OBJPROP_P(this_ptr), "httpurl", sizeof("httpurl")-1);
+ zend_hash_str_del(Z_OBJPROP_P(this_ptr), "httpsocket", sizeof("httpsocket")-1);
+ zend_hash_str_del(Z_OBJPROP_P(this_ptr), "_use_proxy", sizeof("_use_proxy")-1);
678
smart_str_free(&soap_headers_z);
679
smart_str_free(&soap_headers);
680
return FALSE;
0 commit comments