curl-library
Re: CURLFORM_STREAM bug?
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 23 Jul 2009 00:12:04 +0200 (CEST)
Date: Thu, 23 Jul 2009 00:12:04 +0200 (CEST)
On Fri, 17 Jul 2009, Anton Bychkov wrote:
>> Seems to work fine for me. Test 554 was added in March 2008 and has ran OK
>> ever since... Can you see how that differs from your use?
> The difference is that you add stream pointer twice in your test.
> At line 69:
> CURLFORM_STREAM, &pooh,
> and at line 130:
> curl_easy_setopt(curl, CURLOPT_READDATA, &pooh);
> I believe the last one is used and the first one is ignored. This
> behaviour differs from documentation.
I just removed the latter one (and committed) and it still runs fine for me...
-- / daniel.haxx.seReceived on 2009-07-23