Timer callback called excessively?!
Date: Mon, 2 Mar 2020 08:54:00 +0100
Hi!
I am using libcurl 7.68.0 and i am experiencing a strange issue with the
timer function callback being called a lot during download of a file.
I have registered a socket file descriptor using the socket callback
function and in the event handler for that file descriptor i
call curl_multi_socket_action with the file descriptor as the second
parameter and 0 as the third parameter (since i do not know the events at
that point in my code). When i call curl_multi_socket_action, i always get
a callback on the timer function, even if the timer did not elapse.
While downloading the timer callback is called approx. 3000 times / sec
with the timeout set to 1000ms...
Am i missing something crucial here that makes my implementation of libcurl
trigger the timer callback that often?
Appreciate your help,
Regards
Andreas
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2020-03-02