[prev in list] [next in list] [prev in thread] [next in thread]
List: kget
Subject: Re: [Kget] new speedlimit patches
From: Manolo Valdes <nolis71cu () gmail ! com>
Date: 2007-11-07 20:50:21
Message-ID: 200711071550.21750.nolis71cu () gmail ! com
[Download RAW message or body]
El Wednesday 07 November 2007 8:25:38 am Lukas Appelhans escribió:
> Now downloading works correctly, but not speedlimit (for me). It happily
> downloads with 1,3 MiB/s :-(
>
> Cheers
>
> Lukas
>
yes we already note that. :(
it seems to happend because in the case that the slave has to read 0 bytes
from the socket due the speed limitation it have to finish after that (kio
slaves implementation) so on the slaveBase::bytesToRead funtion i return 1
instead 0 to avoid the slave termination. but it is a penalty on the speed
limitation. so the approach now is to combine bytesToRead and some kind of
slave sleep.
still figureing out how to implement it ;)
cheers
Manolito
--
Pues todo lo que el hombre sembrare, eso tambien segará
Gál. 6:7
---------------------------------------------------------
For whatever a man sows, that he will also reap.
Gal. 6:7
_______________________________________________
Kget mailing list
Kget@kde.org
https://mail.kde.org/mailman/listinfo/kget
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic