curl-library
Re: Proxy
Date: Fri, 6 Aug 2010 07:53:20 -0400
On Aug 6, 2010, at 7:45 AM, Jeff Pohlmeyer <yetanothergeek_at_gmail.com> wrote:
> On Fri, Aug 6, 2010 at 5:57 AM, Dlpnet wrote:
>> I would like to be able to use a Proxy and I couldn't find the
>> initials steps to work on this. I m working on Windows with VC9.
>>
>> But is it possible to automatically detect the proxy and use it
>> accordling : in general the client doesn t even know there is a proxy
>> ?
>
> You application should be able to get Internet Explorer's
> proxy configuration from the registry. Check under:
>
> HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\
> \Internet Settings
Unfortunately, just reading settings from the registry will give you
an half broken proxy implementation. Things like ignore lists, PAC and
WPAD all have to be interpreted/evaluated from those settings. Just
use libproxy, your life will be much easier.
Nathaniel
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-08-06