cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: libcurl versus WinInet

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Thu, 6 Jul 2006 11:45:54 -0700

On Wed, Jul 05, 2006 at 07:15:30PM -0500, Matt Campbell wrote:
> However, it seems that WinInet may
> still be better for interactive desktop apps, because it automatically
> handles proxy support. That is, WinInet uses the proxy settings defined
> in the Internet Options control panel, and it can automatically prompt
> the user for proxy authentication when required. Also, if the user is

This could probably be done for libcurl by peeking inside the registry
and setting the appropriate curl_easy_setopt options. This would be a handy
utility function to add to the examples directory as it would make it easier
for application authors to make libcurl work automatically with a manually-
configured proxy.

> behind a proxy that requires NTLM authentication, WinInet seems best
> suited to handle that, since it's the official NTLM implementation on
> the client side.

Recent versions of libcurl on Win32 call the native Windows NTLM
authentication functions, so libcurl also uses the "official" NTLM
implementation.

>>> Dan

-- 
http://www.MoveAnnouncer.com              The web change of address service
          Let webmasters know that your web site has moved
Received on 2006-07-06