cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: CURLOPT_MAX_RECV_SPEED_LARGE, curl_multi_socket andcurl_multi_socket_all

From: Josh Handley <Josh.Handley_at_hillcrestlabs.com>
Date: Wed, 11 Jun 2008 18:48:39 -0400

> Are you sure there isn't a mismatch in the units being passed in? Are
you
> sure the size of curl_off_t in your app is the same as the library?

I'm declaring at as a curl_off_t so the size should be ok. Units passed
are bytes per second as in the doc.

const curl_off_t maxBytesPerSec = 20000;
curl_easy_setopt(easyHandle_, CURLOPT_MAX_RECV_SPEED_LARGE,
maxBytesPerSec);

Josh
Received on 2008-06-12