curl-library
Re: Problem using a proxy
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sat, 26 Oct 2013 14:37:45 +0200 (CEST)
Date: Sat, 26 Oct 2013 14:37:45 +0200 (CEST)
On Sat, 26 Oct 2013, Kaplan Dani wrote:
> I've configured a proxy server on another computer (wingate proxy server)
> and my 2nd computer traffic goes through it.
>
> I try to make a curl call using this proxy:
>
> 192.168.3.79:8008
>
> by calling:
>
> curl_easy_setopt(curl, CURLOPT_PROXY, proxy.c_str());
>
> (proxy is a wstring containing the address above)
wstring? I would assume that's your problem then. Pass in a plain zero
terminated ascii string.
Enabling CURLOPT_VERBOSE is also generally a good idea as it tells more about
what's going on-
-- / daniel.haxx.se ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.htmlReceived on 2013-10-26