Fix wrong backporting of previous soap patch

This commit is contained in:
Pierrick Charron 2023-06-06 18:49:32 -04:00
parent b720ab99f8
commit 32c7c433ac
No known key found for this signature in database
GPG key ID: 286AF1F9897469DC

View file

@ -672,9 +672,9 @@ try_again:
if (UNEXPECTED(php_random_bytes_throw(&nonce, sizeof(nonce)) != SUCCESS)) {
ZEND_ASSERT(EG(exception));
php_stream_close(stream);
convert_to_null(Z_CLIENT_HTTPURL_P(this_ptr));
convert_to_null(Z_CLIENT_HTTPSOCKET_P(this_ptr));
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);
smart_str_free(&soap_headers_z);
smart_str_free(&soap_headers);
return FALSE;