curl / Mailing Lists / curl-library / Single Mail
Buy commercial curl support. 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 Daniel himself.

Re: curl.exe runs fine, but same request hangs up in libcurl.dll (8.7.1-7 in Windows 10)

From: Daniel Stenberg via curl-library <curl-library_at_lists.haxx.se>
Date: Thu, 2 May 2024 11:35:27 +0200 (CEST)

On Thu, 2 May 2024, [Quipsy] Markus Karg via curl-library wrote:

> (Note that curl.exe created the content-length header on its own!)

If you use the --libcurl flag, you'll probably see that curl.exe sets some
option(s) that your application does not. Like CURLOPT_INFILESIZE.

> If needed, I can send the complete source code, just tell me! 😊

Do you set the presumed size? If not, do you return zero from the read
callback at the end of data?

-- 
  / daniel.haxx.se
  | Commercial curl support up to 24x7 is available!
  | Private help, bug fixes, support, ports, new features
  | https://curl.se/support.html


-- 
Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-library
Etiquette:   https://curl.se/mail/etiquette.html
Received on 2024-05-02