git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Errors from http-fetch

From
Daniel Barkalow <barkalow@iabervon.org>
Date
Oct 20, 2005, 20:02 UTC
Message-ID
<Pine.LNX.4.64.0510201558231.25300@iabervon.org>
In-Reply-To
<20051019223708.GC6160@reactrix.com>
On Wed, 19 Oct 2005, Nick Hengeveld wrote:
Show 10 quoted lines
> > 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*
Previous: Nick Hengeveld
Message 5 of 5 in “Errors from http-fetch”
  1. Daniel BarkalowOct 19, 2005
  2. Nick HengeveldOct 19, 2005
  3. Daniel BarkalowOct 19, 2005
  4. Nick HengeveldOct 19, 2005
  5. Daniel BarkalowOct 20, 2005

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.