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

Re: Errors from http-fetch

From
NHNick Hengeveld <nickh@reactrix.com>
Date
Oct 19, 2005, 21:26 UTC
Message-ID
<20051019212644.GB6160@reactrix.com>
In-Reply-To
<Pine.LNX.4.64.0510191536350.25300@iabervon.org>
On Wed, Oct 19, 2005 at 03:46:10PM -0400, Daniel Barkalow wrote:
Show 5 quoted lines
> I've now started getting errors from http-fetch; my guess for the output 
> is that it has problems if an object is not available loose, and is only 
> available in a pack file which is already being downloaded for a different 
> object, possibly only if the first request to be made for the loose 
> object is not the first one to fail.

Are you getting a curl return code of 52/CURLE_GOT_NOTHING? Any chance you have access to the associated server logs?

In the situation you describe, fetch() won't be called for the second object until fetch() for the first object is finished - at which point the pack will have been fully downloaded for the first object (or failed, causing fetch() for the first object to fail as well.)

-- 
For a successful technology, reality must take precedence over public
relations, for nature cannot be fooled.
Previous: Daniel BarkalowNext: Daniel Barkalow
Message 2 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.