curl / Mailing Lists / curl-library / Single Mail
Buy commercial curl support from WolfSSL. 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 himself.

Re: The size of curl internal data cache

From: Daniel Stenberg via curl-library <curl-library_at_lists.haxx.se>
Date: Fri, 6 Oct 2023 09:14:48 +0200 (CEST)

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
Received on 2023-10-06