curl / Mailing Lists / curl-library / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

Re: Seek problem with curl_formadd with CURLFORM_STREAM

From: Dan Fandrich via curl-library <curl-library_at_lists.haxx.se>
Date: Mon, 29 Jan 2024 12:18:31 -0800

On Mon, Jan 29, 2024 at 07:33:59PM +0000, Jeff Mears via curl-library wrote:
> I have code that¢s attempting to use CURLFORM_STREAM with curl_formadd, and it
> is getting a CURLE_SEND_FAIL_REWIND error from the library.
>
> Looking at the libcurl code, it looks like it might be a bug, but it¢s hard for
> me to tell for sure. A full example of how the library is being used would
> take a while to construct.

If it's a bug, it's unlikely to get fixed because this API is deprecated. This
is your excuse to move to the supported API. See
https://github.com/curl/curl/commit/f0b374f662e28bee194038c3e7d5fae4cb498b06
-- 
Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-library
Etiquette:   https://curl.se/mail/etiquette.html
Received on 2024-01-29