[core-dev] BUG: dowloading from partial sources broken
[email protected] (Gregorio Roper) Sat, 12 Jun 2004 11:24:36 +0200
| Newsgroups | gmane.network.gnutella.limewire.core.devel |
|---|---|
| Message-ID | <[email protected]> |
Lines 1126ff in the HTTPDownloader.java seem to be responsible for this problem:
//OK. All the ranges have been collated now. See if the uploader is up
//to mischief
Iterator iter = availableRanges.getAllIntervals();
while(iter.hasNext()) {
Interval next = (Interval)iter.next();
if(_requestedInterval.isSubrange(next))
throw new ProblemReadingHeaderException("Bad ranges sent");
}
I'm not quite sure what these lines were supposed to do, but what they do is check whether
the requested interval is available and throw a PRHE if this range actually is available.
mfg
gregorio
_______________________________________________
core-dev mailing list
[email protected]
http://www.limewire.org/mailman/listinfo/core-dev