aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2012-11-23 13:43:53 +0000
committerSteve Holme <steve_holme@hotmail.com>2012-11-23 13:43:53 +0000
commit91dc73ef445c5d382a72db21468289ae8a9e80e3 (patch)
tree27bfb930d03df3fec587c9b7c63d34e57a0c4107 /docs
parent14dc679ce0b9018ebe1bc7d0356b7869747ecd96 (diff)
DOCS: Updated CURLOPT_CONNECT_ONLY to reflect usage in other protocols
Diffstat (limited to 'docs')
-rw-r--r--docs/libcurl/curl_easy_setopt.39
1 files changed, 5 insertions, 4 deletions
diff --git a/docs/libcurl/curl_easy_setopt.3 b/docs/libcurl/curl_easy_setopt.3
index a388c2220..9d712a45e 100644
--- a/docs/libcurl/curl_easy_setopt.3
+++ b/docs/libcurl/curl_easy_setopt.3
@@ -2093,11 +2093,12 @@ Resolve to IPv6 addresses.
.IP CURLOPT_CONNECT_ONLY
Pass a long. If the parameter equals 1, it tells the library to perform all
the required proxy authentication and connection setup, but no data transfer.
-This option is useful only on HTTP URLs.
+This option is implemented for HTTP, SMTP and POP3.
-This option is useful with the \fICURLINFO_LASTSOCKET\fP option to
-\fIcurl_easy_getinfo(3)\fP. The library can set up the connection and then the
-application can obtain the most recently used socket for special data
+The option can be used to simply test a connection to a server, but is more
+useful when used with the \fICURLINFO_LASTSOCKET\fP option to
+\fIcurl_easy_getinfo(3)\fP as the library can set up the connection and then
+the application can obtain the most recently used socket for special data
transfers. (Added in 7.15.2)
.IP CURLOPT_USE_SSL
Pass a long using one of the values from below, to make libcurl use your