From c8262b2be6c4650e71f6f1befbfbbc415f3fac32 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 25 Jul 2000 07:36:50 +0000 Subject: Added CURLOPT_PROXYPORT, also added some more clarifications about the CURLOPT_PROXY option. --- docs/curl_easy_setopt.3 | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'docs/curl_easy_setopt.3') diff --git a/docs/curl_easy_setopt.3 b/docs/curl_easy_setopt.3 index af6688a48..3ee43bf50 100644 --- a/docs/curl_easy_setopt.3 +++ b/docs/curl_easy_setopt.3 @@ -77,7 +77,13 @@ terminated string. NOTE: this option is currently required! .B CURLOPT_PROXY If you need libcurl to use a http proxy to access the outside world, set the proxy string with this option. The parameter should be a char * to a zero -terminated string. +terminated string. To specify port number in this string, append":[port]" to +the end of the host name. The proxy string may be prefixed with +"[protocol]://" since any such prefix will be ignored. +.TP +.B CURLOPT_PROXYPORT +Set this long with this option to set the proxy port to use unless it is +specified in the proxy string CURLOPT_PROXY. .TP .B CURLOPT_VERBOSE Set the parameter to non-zero to get the library to display a lot of verbose -- cgit v1.2.3