cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: NTLM proxy authentication with CURLOPT_READDATA seems broken.

From: Spacen Jasset <spacenjasset_at_yahoo.co.uk>
Date: Wed, 05 Dec 2007 12:24:31 +0000

Daniel Stenberg wrote:
> 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).
>
Ok, I see. Pitty I didn't perform the fix on a unix platform.
Received on 2007-12-05