cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: CURLOPT_MAX_RECV_SPEED_LARGE, curl_multi_socket and curl_multi_socket_all

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Wed, 11 Jun 2008 08:44:12 -0700

On Wed, Jun 11, 2008 at 01:23:55AM -0400, Josh Handley wrote:
> I'm using the curl_multi_socket interface and at the same time limiting the transfer speed with CURLOP_MAX_RECV_SPEED_LARGE and I can't get it to work correctly. From what I can tell, when the transfer rate goes above the max, I get a socket callback with the "what" parameter set to CURL_POLL_REMOVE. After that I never get another socket callback so I never pass my socket to curl_multi_socket_action and my request never completes.

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?

>>> Dan

-- 
http://www.MoveAnnouncer.com              The web change of address service
          Let webmasters know that your web site has moved
Received on 2008-06-11