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