cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: release delay

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 8 Jun 2007 00:13:40 +0200 (CEST)

On Thu, 7 Jun 2007, Michael Wallner wrote:

> curl_easy_setopt(ch, CURLOPT_MAX_SEND_SPEED_LARGE, (curl_off_t) 0);
> curl_easy_setopt(ch, CURLOPT_MAX_RECV_SPEED_LARGE, (curl_off_t) 0);
>
> I thought curl_off_t is the right type for the *_LARGE options? The attached
> program should prove what I'm experiencing.

Yeah, the problem is that you need to enable the large support in your
application, which at least on most *nix-style Oses is done by adding:

#define _FILE_OFFSET_BITS 64

before you include the curl public header.

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2007-06-08