HTTP Sources should stand still

Post comments about Shareaza code and discuss with other developers.
Forum rules
Home | Wiki | Rules

HTTP Sources should stand still

Postby siavoshkc » 27 Apr 2010 20:34

When you start downloading from a web site, download will have the IP of HTTP server as a source. When Shareaza is not able to connect to that server for some reason (Usually temporary), it deletes that source. This leads to a problem: Because that file was not from a P2P network, probablity of it being find in P2P network is low. So, that file stays in download list without any source forever.

For this reason the HTTP (or maybe FTP) sources of a download should never be deleted by Shareaza automatically.

Thank You
siavoshkc
 
Posts: 347
Joined: 02 Nov 2009 09:37

Re: HTTP Sources should stand still

Postby ailurophobe » 30 Apr 2010 18:38

In general, it might be a good idea to try all non-push sources twice with a suitable interval before dropping. One hour maybe?
ailurophobe
 
Posts: 709
Joined: 11 Nov 2009 05:25

Re: HTTP Sources should stand still

Postby siavoshkc » 22 May 2010 17:11

One hour would not be enough. It should try it at least four times with 7 hour intervals. A http server maybe down for one day.

Implementing this interval method may lead to unneeded overhead in code. This is why I suggested never drop method.
siavoshkc
 
Posts: 347
Joined: 02 Nov 2009 09:37

Re: HTTP Sources should stand still

Postby siavoshkc » 20 Jul 2010 08:44

I made a ticket.
siavoshkc
 
Posts: 347
Joined: 02 Nov 2009 09:37


Return to Development Discussion

Who is online

Users browsing this forum: No registered users and 1 guest