On Mon, Aug 03, 2009 at 03:53:59PM -0700, Dan Price wrote: > > Assuming that's the problem, then the Range: header is the solution, > > assuming that our server stack supports it. > > It depends on whether the problem is a lost connection or corruption. > With corruption, you really must backtrack.
True. But you can't really tell about corruption until you've completed the download, since we're not going to hand out hashes for all byte ranges [0,n]. If you wanted to be super clever, you could decide how much download is too much to just throw away without trying for the rest (say you've gotten 57 megs of 60, it's probably worth trying for the last three), but my guess is that dropped connections are far more frequent than corrupt data, and that getting the rest of the data is almost always the right thing to do. It'd be a nice feature to have at some point, I think. Danek _______________________________________________ pkg-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
