cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: multi interface + writeDataCallback doesn't work on win32 !

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Fri, 28 May 2004 08:41:06 +0200 (CEST)

On Thu, 27 May 2004, Stefan Libcurl wrote:

> The multi interface works when I use the IP adress of host instead of name.

Yes, because the bug in 7.11.1 you experience affects you during name resolves
and using ip-only avoids doing a name resolve.

> You wrote I should upgrade libcurl. The actual version is 7.11.2. But I use
> MSVC and there isn't listed 7.11.2 (bin) at the download page. What should I
> do ?

Build your own? Persuade someone to build the latest and provide it to the
world? Buy me a computer and a compiler and send it over and I'll do it for
you! ;-)

> Question to NTLM:
>
> I want to use NTLM authentication and is it enough setting following opts:
>
> curl_easy_setopt(curl1, CURLOPT_HTTPAUTH, CURLAUTH_ANY);
> curl_easy_setopt(curl1, CURLOPT_PROXYAUTH, CURLAUTH_ANY);
>
> I use CURLAUTH_ANY because I don't know what authentications other proxies
> use.

The *_ANY options always add extra round-trips so it is generally better to
specify the authentication type you know the host/proxy uses. But if you don't
know, this should work, yes.

-- 
     Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se
      Dedicated custom curl help for hire: http://haxx.se/curl.html
Received on 2004-05-28