Re: Forcing curl_multi_perform() to return regularly

2021-01-21 Thread Jiahao XU via curl-library
How about using a different thread/process for the task that needs to be done regularly? Then you will be able to execute the tasks regularly no matter what happens in libcurl. Get Outlook for iOS From: curl-library on behalf of Andreas

Re: Forcing curl_multi_perform() to return regularly

2021-01-21 Thread m brandenberg via curl-library
On Tue, 19 Jan 2021, Andreas Falkenhahn via curl-library wrote: On 17.01.2021 at 22:55 Ray Satiro via curl-library wrote: Don't wait in the callback. Easier said than done. I'm still supporting very old systems (AmigaOS) where writing to hard disk can take much longer than it takes for new

libcurl is at ~30K + download buffer for dynamic memory

2021-01-21 Thread Daniel Stenberg via curl-library
Hi, curl now uses about 30K of dynamic memory for downloading a large HTTP file, plus the size of the download buffer. I've been digging around and analyzed memory use and struct sizes in curl over the last few years. You can get all the details on my blog post about it: