Re: Errors from http-fetch
From: Daniel Barkalow <hidden>
Date: 2016-06-15 22:42:09
On Wed, 19 Oct 2005, Nick Hengeveld wrote:
quoted
Another thing I noticed was that it was in the middle of downloading the pack when it suddenly exitted due to not being able to find the object; it would probably be worth having a call to finish up the active transfers after giving up on completing the whole thing, since we probably do actually want to finish downloading a big pack if we've started.I'm not sure how that could happen - once a pack download request starts, it has to finish before any fetch() calls can fail. However, there could certainly be other object requests in process when one fails, and it would be polite to let them finish.
Hmm; it definitely cut off a pack download in progress. When I ran it again, it resumed that download, which contained the missing object. Last night, I didn't see any problems, though. I'd certainly believe that server disagreement could be a factor, though. -Daniel *This .sig left intentionally blank*