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: Wrong documentation for CURLINFO_CONTENT_LENGTH_DOWNLOAD_T

From: Ray Satiro via curl-library <curl-library_at_lists.haxx.se>
Date: Sat, 31 Jan 2026 14:40:56 -0500

On 1/30/2026 3:36 PM, Tenant HellTower via curl-library wrote:
>
> 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.


Fixed in https://github.com/curl/curl/commit/ca5efd02

Thanks



-- 
Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-library
Etiquette:   https://curl.se/mail/etiquette.html
Received on 2026-01-31