max download/upload speed setting (libcurl, Delphi)
Date: Sat, 4 Jul 2009 23:53:10 +0200
I use Delphi and CurlPas (Pascal) binding.
libcurl version from this package: curl-7.19.5-devel-mingw32
I tried to add max speed option and it doesnt work :(
so I added CURLOPT_MAX_SEND_SPEED_LARGE, 30145
I added it as a new option
procedure tCurl.SetMaxSendSpeed (const value: LongInt);
SetPtrOption(CURLOPT_MAX_SEND_SPEED_LARGE, dummy, @value);
But it just doesnt work :( Then I tried this ..
procedure tCurl.SetMaxSendSpeed(const value: int64);
SetResultCode(curl_easy_setopt(fCurl, CURLoption(30145), value),
This didn't work either.
I found that some people had to recompile library
with this option
#define _FILE_OFFSET_BITS 64
Any idea? Someone has any experience with Pascal/Delphi?
I can't recompile library in Delphi ...
Received on 2009-07-05