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

Re: [PATCH 2/3] Support for partial HTTP transfers

From
Junio C Hamano <junkio@cox.net>
Date
Sep 27, 2005, 22:24 UTC
Message-ID
<7vfyrqywrv.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<20050927171912.GC1377@reactrix.com>
Nick Hengeveld <nickh@reactrix.com> writes:
Show 9 quoted lines
> On Tue, Sep 27, 2005 at 10:09:49AM -0700, Junio C Hamano wrote:
>
>> True.  What I meant by "interesting" is that two is reading from
>> what one is writing.
>
> Excellent point.  Given the potential for problems related to this
> issue or to compressed representation, would it make sense to enable
> partial transfers via a command-line option and leave the feature
> disabled by default?

Here is what I think. Multiple transfers at the same time, if it becomes problem in pratcice, should be prevented at the upper layer anyway, so this "interesting" problem is a moot point. So I'd say let's not worry about that.

Doing partial transfer support for packs and indices would be more useful addition to your code than dealing with the above -- packs are much bigger than individual objects and would get much bigger benefit from restartable download.

Different compressed representation is just a theoretical curiosity and we do not know if it is a problem in practice. As long as you can detect the situation and die, it would be OK, I think.

 
Previous: Nick HengeveldNext: Daniel Barkalow
Message 8 of 10 in “Support for partial HTTP transfers”
  1. 2/3 Support for partial HTTP transfersNick Hengeveld, Sep 26, 2005
  2. Junio C HamanoSep 26, 2005
  3. Nick HengeveldSep 27, 2005
  4. Junio C HamanoSep 27, 2005
  5. Nick HengeveldSep 27, 2005
  6. Junio C HamanoSep 27, 2005
  7. Nick HengeveldSep 27, 2005
  8. Junio C HamanoSep 27, 2005
  9. Daniel BarkalowSep 26, 2005
  10. sfSep 27, 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.