From: Steve Holme Date: Fri, 23 Nov 2012 13:43:53 +0000 (+0000) Subject: DOCS: Updated CURLOPT_CONNECT_ONLY to reflect usage in other protocols X-Git-Tag: curl-7_29_0~249 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=91dc73ef445c5d382a72db21468289ae8a9e80e3;p=thirdparty%2Fcurl.git DOCS: Updated CURLOPT_CONNECT_ONLY to reflect usage in other protocols --- diff --git a/docs/libcurl/curl_easy_setopt.3 b/docs/libcurl/curl_easy_setopt.3 index a388c22206..9d712a45e0 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