The IE API is user specific.
As OpenVPN runs as a service using own user or system account, IE API
is not suitable.
Using WinHTTP indeed looks better.

2010/4/28  <open...@rkmorris.us>:
> Hi Samuli,
>
>
>
> Very interesting timing! Just last night I was poking about about this a
> bit, and I'm not so sure that the proxy approach noted so far is the best /
> right way to do this. Rather, to be able to handle dynamic (not just static)
> proxy configurations the WinHTTP API looks to me to be the way to do this
> (see http://msdn.microsoft.com/en-us/library/aa384097(v=VS.85).aspx for an
> example).
>
>
>
> I hope this helps!
>
>
>
> ... Russell
>
>
>
>
>
> On Wed, Apr 28, 2010 09:01 AM, Samuli Seppänen <sam...@openvpn.net> wrote:
>
> Hi all,
>
> A while back a user noticed that OpenVPN still uses old IE4 API to
> detect proxy settings (e.g. in proxy.c and ieproxy.c). This apparently
> causes problems with IE's proxy detection on some Windows installations.
> A "new" InternetQueryOption API was introduced in IE5, so this part of
> OpenVPN would benefit from an upgrade anyways. Would somebody be
> interested in taking up this task? We seem to have a shortage of Windows
> devs, so any help would be most welcome!
>
> For more information about this issue can be found from here:
>
> * http://thread.gmane.org/gmane.network.openvpn.devel/3446
> * http://support.microsoft.com/kb/226473
>
> If I've misunderstood the problem, please send clarifications - proxy
> usage in OpenVPN is still pretty vague to me :)
>
> --
> Samuli Seppänen
> Community Manager
> OpenVPN Technologies, Inc
>
> irc freenode net: mattock
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Openvpn-devel mailing list
> Openvpn-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/openvpn-devel
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> Openvpn-devel mailing list
> Openvpn-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/openvpn-devel
>
>

Reply via email to