On Fri, 6 Oct 2023, Maxim Dzhura via curl-library wrote:
There is a mention of data cache in the curl_easy_pause documentation. What does control the cache maximum capacity in the case of http 1.1 and 2, i.e. how big can it be when a transfer is paused for long? Is there any relation to the http2 window flow-control? Unfortunately, I could not find an answer in everything curl or curl documentation.
Yes, libcurl might need to cache an entire worth of "stream window" when you pause the transfer. With h1 it will "only" cache as much as a download buffer size.
I created https://github.com/curl/curl/pull/12045 to clarify this in the curl_easy_pause man page.
-- / 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