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.
Wrong documentation for CURLINFO_CONTENT_LENGTH_DOWNLOAD_T
- Contemporary messages sorted: [ by date ] [ by thread ] [ by subject ] [ by author ] [ by messages with attachments ]
From: Tenant HellTower via curl-library <curl-library_at_lists.haxx.se>
Date: Fri, 30 Jan 2026 15:36:45 -0500
Hi All,
Looks like the documentation for CURLINFO_CONTENT_LENGTH_DOWNLOAD_T
<https://curl.se/libcurl/c/CURLINFO_CONTENT_LENGTH_DOWNLOAD_T.html>is not
correct as it indicates that this is only supporting http protocol.
I ran a test for scp protocol and it works fine. Also the previous version
of it (CURLINFO_CONTENT_LENGTH_DOWNLOAD
<https://curl.se/libcurl/c/CURLINFO_CONTENT_LENGTH_DOWNLOAD.html>)
supports all protocols. Hence, I think the man page is wrongly stating
that CURLINFO_CONTENT_LENGTH_DOWNLOAD_T is supported for HTTP only.
Please let me know if I'm missing something.
Regards,
Negar
Date: Fri, 30 Jan 2026 15:36:45 -0500
Hi All,
Looks like the documentation for CURLINFO_CONTENT_LENGTH_DOWNLOAD_T
<https://curl.se/libcurl/c/CURLINFO_CONTENT_LENGTH_DOWNLOAD_T.html>is not
correct as it indicates that this is only supporting http protocol.
I ran a test for scp protocol and it works fine. Also the previous version
of it (CURLINFO_CONTENT_LENGTH_DOWNLOAD
<https://curl.se/libcurl/c/CURLINFO_CONTENT_LENGTH_DOWNLOAD.html>)
supports all protocols. Hence, I think the man page is wrongly stating
that CURLINFO_CONTENT_LENGTH_DOWNLOAD_T is supported for HTTP only.
Please let me know if I'm missing something.
Regards,
Negar
-- Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-library Etiquette: https://curl.se/mail/etiquette.htmlReceived on 2026-01-31