cURL / Mailing Lists / curl-library / Single Mail


Re: Is curl suitable for iOS/Android when http proxy is used

From: Ray Satiro via curl-library <>
Date: Fri, 15 Jan 2016 14:57:20 -0500

On 1/15/2016 7:57 AM, CĂ©dric Deltheil wrote:
> On Fri, Jan 15, 2016, at 01:25 PM, JOHAN LANTZ wrote:
>> My doubt at this moment is how devices using a http proxy would work.
>> I have not confirmed it but I would assume that if you use the native
>> API’s from Apple, the proxy would be taken care of by default while
>> if we use curl we would be forced to ask the user to manually provide
>> a password, something I guess most users don’t know how to do or
>> would be reluctant to doing.
> From what I experienced on iOS I do confirm you need to explicitly set
> the proxy via ad-hoc `curl_easy_setopt` API calls, like:
> curl_easy_setopt(handle, CURLOPT_PROXY, host);
> curl_easy_setopt(handle, CURLOPT_PROXYPORT, port);

This is also true of Windows, libcurl does not use the IE proxy
settings. Refer to

List admin:
Received on 2016-01-15