[Ttssh2-commit] [4494] SCPファイル送信の性能改善のため、ファイルバッファを 8KB - > 32KB へ拡張した。

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2011年 6月 12日 (日) 20:34:56 JST


Revision: 4494
          http://sourceforge.jp/projects/ttssh2/svn/view?view=rev&revision=4494
Author:   yutakapon
Date:     2011-06-12 20:34:56 +0900 (Sun, 12 Jun 2011)

Log Message:
-----------
SCPファイル送信の性能改善のため、ファイルバッファを 8KB -> 32KB へ拡張した。
ただし、パケット圧縮なしの場合のみ。

Modified Paths:
--------------
    trunk/ttssh2/ttxssh/ssh.c


-------------- next part --------------
Modified: trunk/ttssh2/ttxssh/ssh.c
===================================================================
--- trunk/ttssh2/ttxssh/ssh.c	2011-06-10 15:10:49 UTC (rev 4493)
+++ trunk/ttssh2/ttxssh/ssh.c	2011-06-12 11:34:56 UTC (rev 4494)
@@ -7536,7 +7536,7 @@
 	// ˆ³k‚̏ꍇ‚̓oƒbƒtƒ@ƒTƒCƒY‚ð¬‚³‚­‚·‚éB
 	// (2011.6.11 yutaka)
 	if (pvar->ts_SSH->CompressionLevel == 0) {
-		buflen = 8192;
+		buflen = 8192*4;
 	} else {
 		buflen = 1024;
 	}



Ttssh2-commit メーリングリストの案内
Back to archive index