cURL / Mailing Lists / curl-library / Single Mail


Re: max download/upload speed setting (libcurl, Delphi)

From: Daniel Stenberg <>
Date: Sun, 5 Jul 2009 14:04:12 +0200 (CEST)

On Sun, 5 Jul 2009, :) wrote:

> curl_easy_setopt(MyCurl, CURLoption(30145), 1024*15);

This clearly is wrong. The types with _LARGE suffix require that you pass in a
curl_off_t sized argument, and in this example you're clearly not doing that.
You either typecast the number or assign it to a variable and pass that.

Received on 2009-07-05