[Bug 1195] sftp corrupts large files on new macbook pro

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Fri Jun 9 20:15:36 EST 2006


------- Comment #2 from dtucker at zip.com.au  2006-06-09 20:15 -------
Does OpenSSL's self-test ("make tests") pass on that platform?  Also,
does enabling/disabling compression make any difference?  Do the files
all end up exactly the same size?

The thing that occurs to me as a possible cause is pipes/socketpairs:
both sftp and scp use them to talk to the underlying ssh process, but
scp uses a small fixed buffer (2kb) and sftp uses a variable sized
buffer that defaults to 32kb.  If you repeat your test forcing the sftp
buffer to 2k ("sftp -B 2048") does the corruption still occur?

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

More information about the openssh-bugs mailing list