From: Jeff King Date: Tue, 17 May 2011 05:56:05 GMT Subject: Re: [PATCH 3/3] send-pack: avoid deadlock on git:// push with failed pack-objects Message-ID: <20110517055605.GE10048@sigill.intra.peff.net> In-Reply-To: <4DD182C8.50308@kdbg.org> On Mon, May 16, 2011 at 10:02:16PM +0200, Johannes Sixt wrote: > > + if (git_connection_is_socket(conn)) > > + shutdown(fd[0], SHUT_WR); > > We probably need a wrapper for shutdown() on Windows. I'll look into > this tomorrow. FWIW, we already make an identical call in transport-helper.c (I was tempted even to use "1" instead of SHUT_WR for portability, but it seems nobody has complained so far about the use in transport-helper). -Peff