curl-library
Re: Curl_readrewind and form data
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sat, 5 Oct 2013 16:18:36 +0200 (CEST)
Date: Sat, 5 Oct 2013 16:18:36 +0200 (CEST)
On Mon, 30 Sep 2013, Joshua Kwan wrote:
>> Would it work for you with calling the seekfunction for this?
>
> That sounds perfect. Do you need me to come up with a patch? I wasn't quite
> sure how to detect the use of CURLFORM_STREAM all the way out in transfer.c.
> Seems like a new toplevel flag might be needed.
A patch would be great! I haven't really thought about exactly how the
implementation needs to be done, but I fear it might get quite involved.
It would be really good to get a test case for this case too, so we better
write that up so that we can verify the fix easier. Perhaps we could base it
on test 552 which at least is somewhat in the same ballpark.
-- / daniel.haxx.se ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.htmlReceived on 2013-10-05