Skip to content

Commit

Permalink
Fix wrong backporting of previous soap patch
Browse files Browse the repository at this point in the history
  • Loading branch information
adoy committed Jun 6, 2023
1 parent b720ab9 commit 32c7c43
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ext/soap/php_http.c
Expand Up @@ -672,9 +672,9 @@ int make_http_soap_request(zval *this_ptr,
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;
Expand Down

0 comments on commit 32c7c43

Please sign in to comment.