curl-library
CURLE_COULDNT_RESOLVE_PROXY?
Date: Wed, 05 Mar 2003 12:56:00 +0800
Hi,
I'm using Microsoft proxy server 2.0. And in my code, I specified the same
proxy server, port, user name and password just like it set in the option
window of Internet Explorer. But it returns CURLE_COULDNT_RESOLVE_PROXY when
perform
curl_easy_perform(pURL)? Why? Doesnt curl support MS proxy?
Best wishes,
Fisher
curl_easy_setopt(pURL, CURLOPT_PROXY, "http://internet:80");
curl_easy_setopt(pURL, CURLOPT_PROXYUSERPWD,"wdmeng:wdm123");
//I tried the next sentence, still does work
//curl_easy_setopt(pURL, CURLOPT_PROXYTYPE, CURLPROXY_SOCKS5);
...
//some other setting,such as URL, timeout
...
res = curl_easy_perform(pURL);
//return CURLE_COULDNT_RESOLVE_PROXY
_________________________________________________________________
The new MSN 8: smart spam protection and 2 months FREE*
http://join.msn.com/?page=features/junkmail
-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger
for complex code. Debugging C/C++ programs can leave you feeling lost and
disoriented. TotalView can help you find your way. Available on major UNIX
and Linux platforms. Try it free. www.etnus.com
Received on 2003-03-05