On Fri, 22 Jan 2021, m brandenberg via curl-library wrote:

where writing to hard disk can take much longer than it takes for new
data to come in from the sockets.

I have no skin in this game but here's an idea anyway. Perhaps the concept desired is 'dwell time' in the curl_multi_perform() call. A (very) soft realtime idea where after completing any significant work, the time passed since entry to the call is compared against the value and if exceeded, the call returns a suitable status. If 0, current/default behavior is the result. Fast callbacks are the responsibility of host OS and application.

I like that. Sounds like a better approach even than the rather crude "maxloops" thing we have now.

--

 / daniel.haxx.se
 | Commercial curl support up to 24x7 is available!
 | Private help, bug fixes, support, ports, new features
 | https://www.wolfssl.com/contact/
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.se/mail/etiquette.html

Reply via email to