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

Re: Unable to clone via git protocol / early EOF / index-pack failed

From
HFHolger Freyther <zecke@selfish.org>
Date
Mar 26, 2011, 18:50 UTC
Message-ID
<4D8E3581.6020003@selfish.org>
In-Reply-To
<vpq8vw1epc1.fsf@bauges.imag.fr>
On 03/26/2011 06:58 PM, Matthieu Moy wrote:
Show 12 quoted lines
> 
> That reminds me an issue I had with git over SSH. The problem was indeed
> not Git-related:
> 
>   http://readlist.com/lists/securityfocus.com/secureshell/0/3071.html
> 
> In short, when sending 196481 bytes or more, _and_ if the server did not
> consume the data fast enough, then the connection was closed after
> 65536=2^16 bytes.
> 
> That was on RHEL, and upgrading the kernel solved the issue. Scary...
> 

Yes, scary. I assume that fflush(stdout) has no real meaning for sockets either? So the next best thing would be to use ioctl and SIOCOUTQ on the socket? Any other ideas?

Previous: Matthieu Moy
Message 6 of 6 in “Unable to clone via git protocol / early EOF / index-pack failed”
  1. Harald WelteMar 24, 2011
  2. Harald WelteMar 24, 2011
  3. Holger FreytherMar 26, 2011
  4. Holger FreytherMar 26, 2011
  5. Matthieu MoyMar 26, 2011
  6. Holger FreytherMar 26, 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.