Fix #72611: CURLOPT_TCP_KEEPALIVE missing

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349396 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Christoph Michael Becker 2020-03-12 17:08:49 +00:00
parent 39ed941a15
commit 12bae73457
2 changed files with 69 additions and 0 deletions

View file

@ -3478,6 +3478,39 @@
</simpara>
</listitem>
</varlistentry>
<varlistentry xml:id="constant.curlopt-tcp-keepalive">
<term>
<constant>CURLOPT_TCP_KEEPALIVE</constant>
(<type>integer</type>)
</term>
<listitem>
<simpara>
Available since PHP 5.5.0 and cURL 7.25.0
</simpara>
</listitem>
</varlistentry>
<varlistentry xml:id="constant.curlopt-tcp-keepidle">
<term>
<constant>CURLOPT_TCP_KEEPIDLE</constant>
(<type>integer</type>)
</term>
<listitem>
<simpara>
Available since PHP 5.5.0 and cURL 7.25.0
</simpara>
</listitem>
</varlistentry>
<varlistentry xml:id="constant.curlopt-tcp-keepintvl">
<term>
<constant>CURLOPT_TCP_KEEPINTVL</constant>
(<type>integer</type>)
</term>
<listitem>
<simpara>
Available since PHP 5.5.0 and cURL 7.25.0
</simpara>
</listitem>
</varlistentry>
<varlistentry xml:id="constant.curlmopt-pipelining">
<term>
<constant>CURLMOPT_PIPELINING</constant>

View file

@ -1121,6 +1121,42 @@
Added in cURL 7.46.0. Available since PHP 7.0.7.
</entry>
</row>
<row>
<entry valign="top"><constant>CURLOPT_TCP_KEEPALIVE</constant></entry>
<entry valign="top">
If set to <literal>1</literal>, TCP keepalive probes will be sent. The delay and
frequency of these probes can be controlled by the <constant>CURLOPT_TCP_KEEPIDLE</constant>
and <constant>CURLOPT_TCP_KEEPINTVL</constant> options, provided the operating system
supports them. If set to <literal>0</literal> (default) keepalive probes are disabled.
</entry>
<entry valign="top">
Added in cURL 7.25.0. Available since PHP 5.5.0.
</entry>
</row>
<row>
<entry valign="top"><constant>CURLOPT_TCP_KEEPIDLE</constant></entry>
<entry valign="top">
Sets the delay, in seconds, that the operating system will wait while the connection is
idle before sending keepalive probes, if <constant>CURLOPT_TCP_KEEPALIVE</constant> is
enabled. Not all operating systems support this option.
The default is <literal>60</literal>.
</entry>
<entry valign="top">
Added in cURL 7.25.0. Available since PHP 5.5.0.
</entry>
</row>
<row>
<entry valign="top"><constant>CURLOPT_TCP_KEEPINTVL</constant></entry>
<entry valign="top">
Sets the interval, in seconds, that the operating system will wait between sending
keepalive probes, if <constant>CURLOPT_TCP_KEEPALIVE</constant> is enabled.
Not all operating systems support this option.
The default is <literal>60</literal>.
</entry>
<entry valign="top">
Added in cURL 7.25.0. Available since PHP 5.5.0.
</entry>
</row>
<row>
<entry valign="top"><constant>CURLOPT_TIMECONDITION</constant></entry>
<entry valign="top">