Re: What to expect after 0.99.8
- From
- H. Peter Anvin <hpa@zytor.com>
- Date
- Oct 4, 2005, 17:40 UTC
- Message-ID
- <4342BE9B.5010409@zytor.com>
- In-Reply-To
- <Pine.LNX.4.63.0510041213460.23242@iabervon.org>
Daniel Barkalow wrote:
Show 8 quoted lines
> > I actually mean UNIX (a.k.a. PF_LOCAL) sockets; git-ssh-fetch is connected > to ssh via sockets from "socketpair()". Looks like you can set the buffer > size with a socket option here, too, but I doubt ssh will try setting > socket options on standard in and out, and git-ssh-fetch leaves them at > their defaults. I'm not clear where the defaults for these come from in > general. >
Well, git-ssh-fetch could set both SO_SNDBUF and SO_RCVBUF if it cared.
For portability, it would be a good thing to explicitly set the buffer size rather than just blindly assume it can hold a specific amount of data.
-hpa