cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: NTLM proxy authentication with CURLOPT_READDATA seems broken.

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 5 Dec 2007 12:56:26 +0100 (CET)

On Wed, 5 Dec 2007, Spacen Jasset wrote:

> It looks like the calls to Curl_setup_transfer are wrong, they should use
> postsize to 'tern' on rather than http->postdata which is always true. The
> POSTFIELD version uses postsize.
>
> With these changes it works as expected.

Sorry, but http->postdata is not always true and your change breaks all sorts
of operations as a 'make test' quickly reveals...

I'm working on setting up a test 547 that repeats your problem. Test 548 is
already committed now and should be your case but using CURLOPT_POSTFIELDS
(and thus working).

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2007-12-05