diff --git a/reference/curl/constants.xml b/reference/curl/constants.xml index 877c8667cc..a94de88f2b 100644 --- a/reference/curl/constants.xml +++ b/reference/curl/constants.xml @@ -3478,6 +3478,39 @@ + + + CURLOPT_TCP_KEEPALIVE + (integer) + + + + Available since PHP 5.5.0 and cURL 7.25.0 + + + + + + CURLOPT_TCP_KEEPIDLE + (integer) + + + + Available since PHP 5.5.0 and cURL 7.25.0 + + + + + + CURLOPT_TCP_KEEPINTVL + (integer) + + + + Available since PHP 5.5.0 and cURL 7.25.0 + + + CURLMOPT_PIPELINING diff --git a/reference/curl/functions/curl-setopt.xml b/reference/curl/functions/curl-setopt.xml index dfc5a75461..ba3db664ae 100644 --- a/reference/curl/functions/curl-setopt.xml +++ b/reference/curl/functions/curl-setopt.xml @@ -1121,6 +1121,42 @@ Added in cURL 7.46.0. Available since PHP 7.0.7. + + CURLOPT_TCP_KEEPALIVE + + If set to 1, TCP keepalive probes will be sent. The delay and + frequency of these probes can be controlled by the CURLOPT_TCP_KEEPIDLE + and CURLOPT_TCP_KEEPINTVL options, provided the operating system + supports them. If set to 0 (default) keepalive probes are disabled. + + + Added in cURL 7.25.0. Available since PHP 5.5.0. + + + + CURLOPT_TCP_KEEPIDLE + + Sets the delay, in seconds, that the operating system will wait while the connection is + idle before sending keepalive probes, if CURLOPT_TCP_KEEPALIVE is + enabled. Not all operating systems support this option. + The default is 60. + + + Added in cURL 7.25.0. Available since PHP 5.5.0. + + + + CURLOPT_TCP_KEEPINTVL + + Sets the interval, in seconds, that the operating system will wait between sending + keepalive probes, if CURLOPT_TCP_KEEPALIVE is enabled. + Not all operating systems support this option. + The default is 60. + + + Added in cURL 7.25.0. Available since PHP 5.5.0. + + CURLOPT_TIMECONDITION