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: Forcing curl_multi_perform() to return regularly
- Contemporary messages sorted: [ by date ] [ by thread ] [ by subject ] [ by author ] [ by messages with attachments ]
From: Daniel Stenberg via curl-library <curl-library_at_cool.haxx.se>
Date: Fri, 22 Jan 2021 09:04:32 +0100 (CET)
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.
Date: Fri, 22 Jan 2021 09:04:32 +0100 (CET)
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.htmlReceived on 2021-01-22