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

Re: [PATCH] enable "no-done" extension only when fetching over smart-http

From
Shawn Pearce <spearce@spearce.org>
Date
Mar 29, 2011, 17:24 UTC
Message-ID
<AANLkTimg5_9dQDq8Xa9pJsx9f6UrNewih+WirKcOP42i@mail.gmail.com>
In-Reply-To
<7vlizxsv82.fsf@alter.siamese.dyndns.org>
On Tue, Mar 29, 2011 at 10:16, Junio C Hamano <gitster@pobox.com> wrote:
Show 13 quoted lines
> When 'no-done' protocol extension is used, the upload-pack (i.e. the
> server side) process stops listening to the fetch-pack after issuing the
> final NAK, and starts sending the generated pack data back, but there may
> be more "have" send by the latter in flight that the fetch-pack is
> expecting to be responded with ACK/NAK.  This will typically result in a
> deadlock (both will block on write that the other end never reads) or
> SIGPIPE on the fetch-pack end (upload-pack will finish writing a small
> pack and goes away).
>
> Disable it unless fetch-pack is running under smart-http, where there is
> no such streaming issue.
>
> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Acked-by: Shawn O. Pearce <spearce@spearce.org>
-- 
Shawn.
Previous: Junio C HamanoNext: Junio C Hamano
Message 2 of 5 in “enable "no-done" extension only when fetching over smart-http”
  1. enable "no-done" extension only when fetching over smart-httpJunio C Hamano, Mar 29, 2011
  2. Shawn PearceMar 29, 2011
  3. enable "no-done" extension only when serving over smart-httpJunio C Hamano, Mar 29, 2011
  4. Shawn PearceMar 29, 2011
  5. enable "no-done" extension only when serving over smart-httpJunio C Hamano, Mar 29, 2011

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.