[php-src] Issue #15440: Please add support for new curl option CURLOPT_TCP_KEEPCNT (available since curl 8.9.0)
| From: | dorrogeray | Date: | Fri, 16 Aug 2024 11:09:37 +0000 |
| Subject: | [php-src] Issue #15440: Please add support for new curl option CURLOPT_TCP_KEEPCNT (available since curl 8.9.0) | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-247512@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/15440
Author: dorrogeray
### Description
This options allows you to configure maximum number of keepalive probes:
https://curl.se/libcurl/c/CURLOPT_TCP_KEEPCNT.html
https://github.com/curl/curl/blob/767d5811b5c783b42cea999dd42ecf0453085d17/include/curl/curl.h#L2225
Normally, default value is used depending on OS configuration, but in some situation, you want to
have control over this property, ie when communicating with a specific service.