[php-src] Issue #20624: No method to close curl_share_init_persistent()

[email protected] (kkmuffme)
Newsgroups php.bugs
Message-ID <fdDGBhOYXvW3PJ7unHhkh3rqAjpeYqFTYiClYq17PBI@main.internal.php.net>
Issue: https://github.com/php/php-src/issues/20624
Author: kkmuffme

### Description

There's no method to close/end `curl_share_init_persistent()`, which means DNS expiration has to be awaited and all open connections are retried (and closed) unnecessarily even when one already knows (and could directly close them) - the only fix is to restart php-fpm?


### PHP Version

```plain
PHP 8.5
```

### Operating System

_No response_
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.