1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-07-16 02:27:32 -05:00

In the file-transfer applications, which only ever use the main

channel, arrange to set the SSH-2 window size to something very
large.  This prevents the connection stalling when the window fills
up, and means that PSCP receives data _much_ faster.

[originally from svn r7672]
This commit is contained in:
Ben Harris
2007-08-04 22:14:19 +00:00
parent 8659f5145f
commit a3ea90c0e8
4 changed files with 24 additions and 9 deletions

1
pscp.c
View File

@ -418,6 +418,7 @@ static void do_cmd(char *host, char *user, char *cmd)
cfg.x11_forward = 0;
cfg.agentfwd = 0;
cfg.portfwd[0] = cfg.portfwd[1] = '\0';
cfg.ssh_simple = TRUE;
/*
* Set up main and possibly fallback command depending on