curl-library
limit speed after curl_easy_perform failed
From: 张子华 <zzhawjj_at_163.com>
Date: Sat, 2 Dec 2017 22:00:40 +0800 (CST)
Date: Sat, 2 Dec 2017 22:00:40 +0800 (CST)
I don't know if this is a bug.
I just want to limit my libcurl up or down speed after curl_easy_perform. I call curl_easy_setopt(curl_, CURLOPT_MAX_SEND(RECV)_SPEED_LARGE...) in the callback function of CURLOPT_READFUNCTION,CURLOPT_WRITEFUNCTION,CURLOPT_XFERINFOFUNCTION.
But I failed.Speed will be 0 B/s after I limit.
my libcurl is 7.54.1 on windows (vs2015)
thank you!
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2017-12-02