Re: [PATCH] Fix potential local deadlock during fetch-pack
- From
Shawn Pearce <spearce@spearce.org>
- Date
- Mar 31, 2011, 16:24 UTC
- Message-ID
- <AANLkTiki2__qAqgDnB6yu8kzxNW-bMj2qJcx50yawCWM@mail.gmail.com>
- In-Reply-To
- <AANLkTikCRRftjExdhMgFGFMy-Dc1UCMdW1nTYV2bK1-T@mail.gmail.com>
On Wed, Mar 30, 2011 at 02:42, Erik Faye-Lund <kusmabite@gmail.com> wrote:
Show 10 quoted lines
> On Tue, Mar 29, 2011 at 7:06 PM, Junio C Hamano <gitster@pobox.com> wrote: >> The fetch-pack/upload-pack protocol relies on the underlying transport >> (local pipe or TCP socket) to have enough slack to allow one window worth >> of data in flight without blocking the writer. Traditionally we always >> relied on being able to have a batch of 32 "have"s in flight (roughly 1.5k >> bytes) to stream. > > Hmm, this explanation makes me wonder: Could this be related to the > deadlock we're experiencing with git-push over the git-protocol on > Windows when side-band-64k is enabled?
I think its unrelated. It might also be a deadlock, but the push protocol is quite a bit different. As far as I remember, there is no risk of deadlock in the push protocol.
-- Shawn.