[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#59723: improvement



the baz branch:
michael.vogt@ubuntu.com--2005/apt--sane-timeout-handling--0 [1] 
at 
http://people.ubuntu.com/~mvo/arch/ubuntu

contains a fix that will implement better timeout handling for modern
archives with a global Release file. If that file fails due a timeout
apt will not try to download any other index file for that
sources.list line. 

This means that will still have two timeouts for:
deb http://ftp.debian.org/ sarge main contrib
deb-src http://ftp.debian.org/ sarge main contrib

but not 6 timeouts (Release, main/Packages, contrib/Packages 
+ Release, main/Sources, contrib/Sources) as it is right now.

The patch will send a "FailReason" tag accross the communication
channel between the acquire-method and the acquire-item. This can be
used as a starting point to implement a better timeout handling that
will remember failed server across different sources.list lines.

Testing/comments are welcome.

Cheers,
 Michael


[1] I should have choosen a better name for that branch. The word
"sane" should not imply that the old behaviour is insane. I'm not a
native speaker so I noticed that it might be misunderstood too late.
-- 
Linux is not The Answer. Yes is the answer. Linux is The Question. - Neo



Reply to: