[Kget] new speedlimit patches
Manolo Valdes
nolis71cu at gmail.com
Wed Nov 7 21:50:21 CET 2007
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
More information about the Kget
mailing list