mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Fixed bug #72202 (curl_close doesn't close cURL handle)
Now curl_close() forces connection close, independently of other links to the same resource.
This reverts commit 3ba4f8263d
.
This commit is contained in:
parent
214d4613f5
commit
5b81f9d92e
1 changed files with 1 additions and 3 deletions
|
@ -3354,9 +3354,7 @@ PHP_FUNCTION(curl_close)
|
|||
return;
|
||||
}
|
||||
|
||||
if (Z_REFCOUNT_P(zid) <= 2) {
|
||||
zend_list_close(Z_RES_P(zid));
|
||||
}
|
||||
zend_list_close(Z_RES_P(zid));
|
||||
}
|
||||
/* }}} */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue