[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Mldonkey-devel] mlMac
From: |
Fortin Denis |
Subject: |
Re: [Mldonkey-devel] mlMac |
Date: |
Tue, 02 Dec 2003 19:50:47 +0100 |
Le mar 02/12/2003 à 17:30, b8_bavard a écrit :
> Hi,
>
> > - Why doesn't mlnet give the MD4 for other networks than edonkey ? I'd
> > like to get it so as to find the file for preview..
>
> Indeed, the md4 is not enough to identify a file on other nets. We
> need another URI per file. Why is it used for preview ? What you want
> is the name of the file on the disk ?
>
> > - Availability isn't functionnal for networks other than edonkey..
> > Chunks neither..
>
> Yes, I add to TODO
patch #2341 was a try at displaying availability.
Here's the problem :
availability is a function in commonSwarming.ml. Basically it's a counter of
uploaders for each bloc.
To have correct availability you must register/unregister uploaders.
Currently we never register correctly an uploader :
When we receive a bitfield we first unregister it and then register it
(-1 uploader +1 uploader = 0 uploader )
There's still a bug (which i didn't find) with this patch which
cause the number of uploaders to be < 0. Sending this kind of availbility (<0)
to gui result in the 'disparition' of the file (only in gui display).
Denis