[core-dev] [limewire jira] Closed: (CORE-1) downloading from partial sources broken

[email protected] Mon, 14 Jun 2004 13:58:52 -0400 (EDT)
Newsgroups gmane.network.gnutella.limewire.core.devel
Message-ID <[email protected]>
Message:

   The following issue has been closed.

   Resolver: Zlatin Balevsky
       Date: Mon, 14 Jun 2004 1:57 PM

fixed.. new version
---------------------------------------------------------------------
View the issue:
  http://www.limewire.org/jira/browse/CORE-1

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: CORE-1
    Summary: downloading from partial sources broken
       Type: Bug

     Status: Closed
   Priority: Critical
 Resolution: FIXED

    Project: core
 Components: 
             downloader
   Fix Fors:
             4.0.6
   Versions:
             4.0.0
             4.0.5
             4.0.4
             4.0.3
             4.0.2
             4.0.1

   Assignee: Sumeet Thadani
   Reporter: Sam Berlin

    Created: Sat, 12 Jun 2004 12:37 PM
    Updated: Mon, 14 Jun 2004 1:57 PM

Description:
Reported by Gregorio:

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.


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://www.limewire.org/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira

_______________________________________________
core-dev mailing list
[email protected]
http://www.limewire.org/mailman/listinfo/core-dev