File tree Expand file tree Collapse file tree 6 files changed +73
-67
lines changed Expand file tree Collapse file tree 6 files changed +73
-67
lines changed Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" utf-8" ?>
2
- <!-- EN-Revision: 8ff19ed3d6cc23f8349f589d09736a859c0aa2e3 Maintainer: mowangjuanzi Status: ready -->
2
+ <!-- EN-Revision: f34918d8b2761af5b596b1b762753ee825c19cd8 Maintainer: mowangjuanzi Status: ready -->
3
3
<variablelist xml : id =" constant.curl-getinfo.constants" role =" constant_list" >
4
4
<title ><function >curl_getinfo</function ></title >
5
5
<varlistentry xml : id =" constant.curlinfo-appconnect-time" >
677
677
</term >
678
678
<listitem >
679
679
<simpara >
680
- Average upload speed
680
+ 平均上传速度
681
681
</simpara >
682
682
</listitem >
683
683
</varlistentry >
758
758
</simpara >
759
759
</listitem >
760
760
</varlistentry >
761
+ <varlistentry xml : id =" constant.curlinfo-posttransfer-time-t" >
762
+ <term >
763
+ <constant >CURLINFO_POSTTRANSFER_TIME_T</constant >
764
+ (<type >int</type >)
765
+ </term >
766
+ <listitem >
767
+ <simpara >
768
+ 从开始到发送最后一个字节所花费的微秒数。自 PHP 8.4.0 和 cURL 8.10.0 起可用
769
+ </simpara >
770
+ </listitem >
771
+ </varlistentry >
761
772
</variablelist >
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" utf-8" ?>
2
- <!-- EN-Revision: 6369333ffbe351e8d072127ff8b42512bd4b8078 Maintainer: mowangjuanzi Status: ready -->
2
+ <!-- EN-Revision: 92e188ab73f99fa0dfe4a4bfcb3a3f363e451d4a Maintainer: mowangjuanzi Status: ready -->
3
3
<variablelist xml : id =" constant.curl-multi.constants" role =" constant_list" >
4
4
<title >curl_multi_<replaceable >*</replaceable > 状态常量</title >
5
5
<varlistentry xml : id =" constant.curlm-added-already" >
20
20
</term >
21
21
<listitem >
22
22
<simpara >
23
- 句柄无效或者不正确。这可能意味着这不是句柄或者该句柄已经被自身或者其他多句柄使用了。
23
+ 句柄无效或者不正确。这可能意味着这不是句柄或者该句柄已经被自身或者其他多句柄使用了。自 cURL 7.9.6 起可用。
24
24
</simpara >
25
25
</listitem >
26
26
</varlistentry >
31
31
</term >
32
32
<listitem >
33
33
<simpara >
34
- 传入的句柄不是有效的多句柄。
34
+ 传入的句柄不是有效的多句柄。自 cURL 7.9.6 起可用。
35
35
</simpara >
36
36
</listitem >
37
37
</varlistentry >
43
43
<listitem >
44
44
<simpara >
45
45
从 cURL 7.20.0 起,不再使用此常量。在 cURL 7.20.0 之前,如果在返回任何其他常量之前调用
46
- <function >curl_multi_select</function > 或类似函数时,<function >curl_multi_exec</function > 可能会返回此状态。
46
+ <function >curl_multi_select</function > 或类似函数时,<function >curl_multi_exec</function >
47
+ 可能会返回此状态。自 cURL 7.9.6 起可用。
47
48
</simpara >
48
49
</listitem >
49
50
</varlistentry >
54
55
</term >
55
56
<listitem >
56
57
<simpara >
57
- 内部 <literal >libcurl</literal > 错误。
58
+ 内部 <literal >libcurl</literal > 错误。自 cURL 7.9.6 起可用。
58
59
</simpara >
59
60
</listitem >
60
61
</varlistentry >
65
66
</term >
66
67
<listitem >
67
68
<simpara >
68
- 没有错误。
69
+ 没有错误。自 cURL 7.9.6 起可用。
69
70
</simpara >
70
71
</listitem >
71
72
</varlistentry >
76
77
</term >
77
78
<listitem >
78
79
<simpara >
79
- 处理多句柄时内存不足。
80
+ 处理多句柄时内存不足。自 cURL 7.9.6 起可用。
80
81
</simpara >
81
82
</listitem >
82
83
</varlistentry >
Original file line number Diff line number Diff line change 33
33
</term >
34
34
<listitem >
35
35
<para >
36
- The maximum number of milliseconds to wait for a server
37
- to connect back to cURL when an active FTP connection is used.
38
- This option accepts any value that can be cast to a valid <type >int</type >.
39
- Defaults to <literal >60000</literal > milliseconds.
40
- Available as of cURL 7.24.0.
36
+ 使用活跃 FTP 连接时等待服务器连接回 cURL 的最大毫秒数。此选项接受任何可以转换为有效 <type >int</type >
37
+ 的值。默认为 <literal >60000</literal > 毫秒。自 cURL 7.24.0 起可用。
41
38
</para >
42
39
</listitem >
43
40
</varlistentry >
48
45
</term >
49
46
<listitem >
50
47
<para >
51
- The scope id value to use when connecting to IPv6 addresses.
52
- This option accepts any value that can be cast to a valid <type >int</type >.
53
- Defaults to <literal >0</literal >.
54
- Available as of cURL 7.19.0.
48
+ 连接到 IPv6 地址时使用的范围 ID 值。此选项接受任何可以转换为有效 <type >int</type >
49
+ 的值。默认为 <literal >0</literal >。自 cURL 7.19.0 起可用。
55
50
</para >
56
51
</listitem >
57
52
</varlistentry >
62
57
</term >
63
58
<listitem >
64
59
<para >
65
- Pass a <type >string</type > with the filename for cURL to use as the Alt-Svc cache file to read existing cache contents from and
66
- possibly also write it back to a after a transfer, unless <constant >CURLALTSVC_READONLYFILE</constant >
67
- is set via <constant >CURLOPT_ALTSVC_CTRL</constant >.
68
- Available as of PHP 8.2.0 and cURL 7.64.1.
60
+ 传递 <type >string</type >,其中包含 cURL 的文件名,用作 Alt-Svc 缓存文件,从中读取现有缓存内容,并可能在传输后将其写回,除非通过
61
+ <constant >CURLOPT_ALTSVC_CTRL</constant > 设置了 <constant >CURLOPT_ALTSVC_CTRL</constant >。自 PHP 8.2.0 和 cURL 7.64.1 起可用。
69
62
</para >
70
63
</listitem >
71
64
</varlistentry >
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" utf-8" ?>
2
- <!-- EN-Revision: 238ec3f620efbeac6fdfc86c235dc3e74a4369e5 Maintainer: mowangjuanzi Status: ready -->
2
+ <!-- EN-Revision: 2423fc9798347e34d1a8f7974bc31e31a242db24 Maintainer: mowangjuanzi Status: ready -->
3
3
<variablelist xml : id =" constant.curl-share-setopt.constants" role =" constant_list" >
4
4
<title ><function >curl_share_setopt</function ></title >
5
5
<varlistentry xml : id =" constant.curl-lock-data-connect" >
9
9
</term >
10
10
<listitem >
11
11
<simpara >
12
- 共享/取消共享连接缓存。自 PHP 7.3.0 和 cURL 7.10.0 起可用
12
+ 共享/取消共享连接缓存。自 PHP 7.3.0 和 cURL 7.10.0 起可用。
13
13
</simpara >
14
14
</listitem >
15
15
</varlistentry >
20
20
</term >
21
21
<listitem >
22
22
<simpara >
23
- 共享/取消共享 cookie 数据。
23
+ 共享/取消共享 cookie 数据。自 cURL 7.10.3 起可用。
24
24
</simpara >
25
25
</listitem >
26
26
</varlistentry >
31
31
</term >
32
32
<listitem >
33
33
<simpara >
34
- 共享/取消共享 DNS 缓存。注意,当使用 cURL 多句柄时,默认情况下添加到同一个多句柄的所有句柄将共享 DNS 缓存。
34
+ 共享/取消共享 DNS 缓存。注意,当使用 cURL 多句柄时,默认情况下添加到同一个多句柄的所有句柄将共享 DNS 缓存。自 cURL 7.10.3 起可用。
35
35
</simpara >
36
36
</listitem >
37
37
</varlistentry >
42
42
</term >
43
43
<listitem >
44
44
<simpara >
45
- 共享/取消共享公共后缀列表。自 PHP 7.3.0 和 cURL 7.61.0 起可用
45
+ 共享/取消共享公共后缀列表。自 PHP 7.3.0 和 cURL 7.61.0 起可用。
46
46
</simpara >
47
47
</listitem >
48
48
</varlistentry >
53
53
</term >
54
54
<listitem >
55
55
<simpara >
56
- 共享/取消共享 SSL 的 session ID,从而在重新连接到同一服务器时减少 SSL 握手所需的时间。请注意,默认情况下在同一句柄内会重用 SSL 会话 ID。
56
+ 共享/取消共享 SSL 的 session ID,从而在重新连接到同一服务器时减少 SSL 握手所需的时间。请注意,默认情况下在同一句柄内会重用
57
+ SSL 会话 ID。自 cURL 7.10.3 起可用。
57
58
</simpara >
58
59
</listitem >
59
60
</varlistentry >
64
65
</term >
65
66
<listitem >
66
67
<simpara >
67
-
68
+ 自 cURL 7.10.3 起可用。
68
69
</simpara >
69
70
</listitem >
70
71
</varlistentry >
75
76
</term >
76
77
<listitem >
77
78
<simpara >
78
- 指定应共享的数据类型。
79
+ 指定应共享的数据类型。自 cURL 7.10.3 起可用。
79
80
</simpara >
80
81
</listitem >
81
82
</varlistentry >
86
87
</term >
87
88
<listitem >
88
89
<simpara >
89
- 指定不应共享的数据类型。
90
+ 指定不应共享的数据类型。自 cURL 7.10.3 起可用。
90
91
</simpara >
91
92
</listitem >
92
93
</varlistentry >
You can’t perform that action at this time.
0 commit comments