Skip to content

Commit 32c7c43

Browse files
committed
Fix wrong backporting of previous soap patch
1 parent b720ab9 commit 32c7c43

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ext/soap/php_http.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -672,9 +672,9 @@ int make_http_soap_request(zval *this_ptr,
672672
if (UNEXPECTED(php_random_bytes_throw(&nonce, sizeof(nonce)) != SUCCESS)) {
673673
ZEND_ASSERT(EG(exception));
674674
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));
675+
zend_hash_str_del(Z_OBJPROP_P(this_ptr), "httpurl", sizeof("httpurl")-1);
676+
zend_hash_str_del(Z_OBJPROP_P(this_ptr), "httpsocket", sizeof("httpsocket")-1);
677+
zend_hash_str_del(Z_OBJPROP_P(this_ptr), "_use_proxy", sizeof("_use_proxy")-1);
678678
smart_str_free(&soap_headers_z);
679679
smart_str_free(&soap_headers);
680680
return FALSE;

0 commit comments

Comments
 (0)