Wrong documentation for CURLINFO_CONTENT_LENGTH_DOWNLOAD_T
Tenant HellTower via curl-library <[email protected]> Fri, 30 Jan 2026 15:36:45 -0500
| Newsgroups | gmane.comp.web.curl.library |
|---|---|
| Message-ID | <CAGeVwW7ijwT=thH9nXzpEk2-2v2WGKUsL5bBfV9R5HvJ-JBUcg@mail.gmail.com> |
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.html