Skip to content

Commit 5652eaa

Browse files
committed
GH-15440: adding CURLOPT_TCP_KEEPCNT constant (8.9.0)
1 parent 8082567 commit 5652eaa

File tree

3 files changed

+12
-1
lines changed

3 files changed

+12
-1
lines changed

UPGRADING

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -917,6 +917,7 @@ PHP 8.4 UPGRADE NOTES
917917
- Curl:
918918
. CURL_HTTP_VERSION_3.
919919
. CURL_HTTP_VERSION_3ONLY.
920+
. CURL_TCP_KEEPCNT
920921

921922
- Intl:
922923
. The IntlDateFormatter class exposes now the new PATTERN constant

ext/curl/curl.stub.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -407,6 +407,13 @@
407407
* @cvalue CURLOPT_STDERR
408408
*/
409409
const CURLOPT_STDERR = UNKNOWN;
410+
#if LIBCURL_VERSION_NUM >= 0x080801 /* Available since 8.9.0 */
411+
/**
412+
* @var int
413+
* @cvalue CURLOPT_TCP_KEEPCNT
414+
*/
415+
const CURLOPT_TCP_KEEPCNT = UNKNOWN;
416+
#endif
410417
/**
411418
* @var int
412419
* @cvalue CURLOPT_TELNETOPTIONS

ext/curl/curl_arginfo.h

Lines changed: 4 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)