>From: Christian Biere <[EMAIL PROTECTED]>
>Christian Biere wrote:
> > Lloyd Bryant wrote:
> > > What's annoying about this is that it generally results in the primary
> > > download stalling,  with that source stuck at "Giving priority to 
>THEX",
> > > unless I either manually get the THEX download going, or delete the 
>THEX
> > > download and manually restart the main download.
>
> > The problem behind this is that "Giving priority..." means the 
>connection is
> > cut-off and a new one is established (or at least it's attempted) for
> > downloading the THEX data. Although gtk-gnutella handles keep-alive
> > connections, it uses them for the same file only. If there are multiple 
>files
> > at a single server, it hangs up and creates a new connection for each 
>single
> > file.
>
>There are still some cases where gtk-gnutella might hang up but if you 
>update
>from SVN, you should see that it does no longer hang-up when trying to 
>fetch
>THEX data, at least if the server allows it to continue. gtk-gnutella now
>tries to recycle a connection to a server until it has no more queued 
>requests
>for it, regardless of the file, so you might also see it switching from one
>file to another.
>

Updated to r14887, and the switch from the main download to the THEX 
download works beautifully.  On three tests, using Bearshare "push" sources, 
it switched, and received the THEX data without a hitch.

Now for the bad news - it's doesn't switch back once the THEX download is 
done.  I can manually restart that download after the THEX has completed, or 
I can wait out the timeout and the download will restart on it's own.  For 
common files, with many sources, this is not really a problem, but would be 
a bit of a nuisance for rarer files (especially when dealing with "push" 
sources, where there's a chance that the push route will be lost during that 
timeout).

Something more troubling - I've seen two THEX downloads since updating where 
the THEX status is "Max number of downloads...", but when I check the main 
download, the same source shows a status of "HTTP 503 Full at...".  I've 
also caught it once creating the THEX download from a "Queued..." source, 
which I had never seen before (I was under the impression that it only used 
"active" sources when deciding where to download the THEX data from).

Lloyd B.



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
gtk-gnutella-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gtk-gnutella-devel

Reply via email to