Re: [libtorrent] Speed greater than limit
Brought to you by:
arvidn
|
From: arvid <ar...@cs...> - 2014-09-10 20:35:48
|
On 2014-09-10 04:53, Maks Schipko wrote:
> Hello,
> I'm tring to use libtorrent library and I have a some following
> problem.
>
> I create torrents with default settings and set them limits (e.g.,
> 100Kb) as
> torrent_handle.set_download_limit(limit);
>
> And when I ask speed for the current torrent:
> torrent_handle.status ().upload_payload_rate
> sometimes I get greater value then the limit (e.g., 200Kb or 300Kb).
>
> What's wrong? Why my torrent limits aren't applyed?
if you want to limit the upload rate, use:
torent_handle.set_upload_limit(limit);
if you are, you might want to make sure you don't have rate_limit_utp
set
to false in the settings.
--
Arvid Norberg
|