Commit 32f78136 authored by Dan Fandrich's avatar Dan Fandrich
Browse files

Documented CURLOPT_CONNECT_ONLY as being useful only on HTTP URLs.

parent 01d6133b
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1388,6 +1388,7 @@ 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 useful with the \fICURLINFO_LASTSOCKET\fP option to
\fIcurl_easy_getinfo(3)\fP. The library can set up the connection and then the