[email protected] wrote:
[snip]
Ok, but using the range header is somewhat orthogonal to keeping the
progress tracker from rolling backwards. The progress tracker gets
updated by the libcurl framework as the download occurs, so if a
download fails we removed the progress accrued by that transaction.
There's a tradeoff between having your progress updated as the download
progresses and the previous way where we only updated the progress once
the download finished. Now we're coupled to the framework but on a
per-request instead of per file basis.
Well, except that since you're going to restart the download @ 40MB (for
example), you wouldn't (have to) rollback the progress tracker for that
40MB just b/c the download timed out.
Brock
-j
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss