svn: /phpdoc/ja/trunk/reference/curl/functions/ curl-setopt.xml

[email protected] (Yoshinari Takaoka)
Newsgroups php.doc.ja
Message-ID <[email protected]>
mumumu                                   Thu, 06 Feb 2020 13:03:29 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=349151

Log:
still working...

Changed paths:
    U   phpdoc/ja/trunk/reference/curl/functions/curl-setopt.xml

Modified: phpdoc/ja/trunk/reference/curl/functions/curl-setopt.xml
===================================================================
--- phpdoc/ja/trunk/reference/curl/functions/curl-setopt.xml	2020-02-06 12:56:00 UTC (rev 349150)
+++ phpdoc/ja/trunk/reference/curl/functions/curl-setopt.xml	2020-02-06 13:03:29 UTC (rev 349151)
@@ -1073,16 +1073,16 @@
            </entry>
           </row>
           <row>
-           <!-- to be translated -->
            <entry valign="top"><constant>CURLOPT_PROXY_SSL_VERIFYHOST</constant></entry>
            <entry valign="top">
-            Set to <literal>2</literal> to verify in the HTTPS proxy's certificate name fields against the proxy name.
-            When set to <literal>0</literal> the connection succeeds regardless of the names used in the certificate.
-            Use that ability with caution!
-            <literal>1</literal> treated as a debug option in curl 7.28.0 and earlier.
-            From curl 7.28.1 to 7.65.3 <constant>CURLE_BAD_FUNCTION_ARGUMENT</constant> is returned.
-            From curl 7.66.0 onwards <literal>1</literal> and <literal>2</literal> is treated as the same value.
-            In production environments the value of this option should be kept at <literal>2</literal> (default value).
+            HTTPSプロキシの証明書の名前フィールドをプロキシ名と突き合わせて検証する場合
+            <literal>2</literal> を設定します。
+            <literal>0</literal> を設定すると、証明書でどのような名前が使われていようと、接続は成功します。
+            注意して使用してください!
+            <literal>1</literal> は curl 7.28.0 以前ではデバッグオプションとして扱われていました。
+            curl 7.28.1 から 7.65.3 までは <constant>CURLE_BAD_FUNCTION_ARGUMENT</constant> が返されていました。
+            curl 7.66.0 以降では <literal>1</literal> と <literal>2</literal> は同じ値として扱われます。
+            本番環境では、このオプションの値は (デフォルトの) <literal>2</literal> であるべきです。
            </entry>
            <entry valign="top">
             PHP 7.3.0 以降 および cURL >= 7.52.0 をビルドした場合に使用可能です。
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.