Loading docs/curl_easy_setopt.3 +24 −1 Original line number Diff line number Diff line Loading @@ -2,7 +2,7 @@ .\" nroff -man [file] .\" $Id$ .\" .TH curl_easy_setopt 3 "12 Nov 2001" "libcurl 7.9.1" "libcurl Manual" .TH curl_easy_setopt 3 "30 Nov 2001" "libcurl 7.9.2" "libcurl Manual" .SH NAME curl_easy_setopt - Set curl easy-session options .SH SYNOPSIS Loading Loading @@ -547,6 +547,29 @@ compile OpenSSL. You'll find more details about cipher lists on this URL: \fIhttp://www.openssl.org/docs/apps/ciphers.html\fP .TP .B CURLOPT_HTTP_VERSION Pass a long, set to one of the values described below. They force libcurl to use the specific HTTP versions. This is not sensible to do unless you have a good reason. .RS .TP 5 .B CURL_HTTP_VERSION_NONE We don't care about what version the library uses. libcurl will use whatever it thinks fit. .TP .B CURL_HTTP_VERSION_1_0 Enforce HTTP 1.0 requests. .TP .B CURL_HTTP_VERSION_1_1 Enforce HTTP 1.1 requests. .RE .TP .B CURLOPT_FTP_USE_EPSV Pass a long. If the value is non-zero, it tells curl to use the EPSV command when doing passive FTP downloads (which is always does by default). Using EPSV means that it will first attempt to use EPSV before using PASV, but if you pass FALSE (zero) to this option, it will not try using EPSV, only plain PASV. .PP .SH RETURN VALUE CURLE_OK (zero) means that the option was set properly, non-zero means an Loading Loading
docs/curl_easy_setopt.3 +24 −1 Original line number Diff line number Diff line Loading @@ -2,7 +2,7 @@ .\" nroff -man [file] .\" $Id$ .\" .TH curl_easy_setopt 3 "12 Nov 2001" "libcurl 7.9.1" "libcurl Manual" .TH curl_easy_setopt 3 "30 Nov 2001" "libcurl 7.9.2" "libcurl Manual" .SH NAME curl_easy_setopt - Set curl easy-session options .SH SYNOPSIS Loading Loading @@ -547,6 +547,29 @@ compile OpenSSL. You'll find more details about cipher lists on this URL: \fIhttp://www.openssl.org/docs/apps/ciphers.html\fP .TP .B CURLOPT_HTTP_VERSION Pass a long, set to one of the values described below. They force libcurl to use the specific HTTP versions. This is not sensible to do unless you have a good reason. .RS .TP 5 .B CURL_HTTP_VERSION_NONE We don't care about what version the library uses. libcurl will use whatever it thinks fit. .TP .B CURL_HTTP_VERSION_1_0 Enforce HTTP 1.0 requests. .TP .B CURL_HTTP_VERSION_1_1 Enforce HTTP 1.1 requests. .RE .TP .B CURLOPT_FTP_USE_EPSV Pass a long. If the value is non-zero, it tells curl to use the EPSV command when doing passive FTP downloads (which is always does by default). Using EPSV means that it will first attempt to use EPSV before using PASV, but if you pass FALSE (zero) to this option, it will not try using EPSV, only plain PASV. .PP .SH RETURN VALUE CURLE_OK (zero) means that the option was set properly, non-zero means an Loading