Ticket #5686: fz-windows-upload-speed.diff
File fz-windows-upload-speed.diff, 944 bytes (added by , 14 years ago) |
---|
-
putty/ssh.c
508 508 509 509 #define SSH1_BUFFER_LIMIT 32768 510 510 #define SSH_MAX_BACKLOG 32768 511 #define OUR_V2_WINSIZE 16384511 #define OUR_V2_WINSIZE 4194304 512 512 #define OUR_V2_BIGWIN 0x7fffffff 513 513 #define OUR_V2_MAXPKT 0x4000UL 514 514 #define OUR_V2_PACKETLIMIT 0x9000UL -
putty/windows/winnet.c
883 883 int size_read = 4194304; 884 884 p_setsockopt(s, SOL_SOCKET, SO_RCVBUF, (const char*)&size_read, sizeof(size_read)); 885 885 } 886 887 /* Enable send window scaling */ 888 { 889 int size_write = 4194304; 890 p_setsockopt(s, SOL_SOCKET, SO_SNDBUF, (const char*)&size_write, sizeof(size_write)); 891 } 886 892 887 893 /* 888 894 * Bind to local address.