provide CURL_DEFAULT_PROXY_PORT set to 1080 for the default port libcurl

assumes proxies to use
This commit is contained in:
Daniel Stenberg
2008-04-05 21:13:31 +00:00
parent 7607d5145b
commit 34d837c2dd
2 changed files with 3 additions and 12 deletions

View File

@@ -719,7 +719,7 @@ CURLcode Curl_open(struct SessionHandle **curl)
/* Set the default size of the SSL session ID cache */
data->set.ssl.numsessions = 5;
data->set.proxyport = 1080;
data->set.proxyport = CURL_DEFAULT_PROXY_PORT; /* from url.h */
data->set.proxytype = CURLPROXY_HTTP; /* defaults to HTTP proxy */
data->set.httpauth = CURLAUTH_BASIC; /* defaults to basic */
data->set.proxyauth = CURLAUTH_BASIC; /* defaults to basic */