diff options
author | Hans Nilsson <hans@erlang.org> | 2016-01-15 17:57:28 +0100 |
---|---|---|
committer | Hans Nilsson <hans@erlang.org> | 2016-01-18 12:21:26 +0100 |
commit | 8abcda0fa16bb06db5020f5dcd22e09aa37f412a (patch) | |
tree | 168abf9f5159be55cb1404cda615a43f59174611 /lib/ssh/src/ssh_xfer.erl | |
parent | 1bb8e4ae6eaf2f18d3b2ccc8e77cd7228e1c6e8a (diff) | |
download | otp-8abcda0fa16bb06db5020f5dcd22e09aa37f412a.tar.gz otp-8abcda0fa16bb06db5020f5dcd22e09aa37f412a.tar.bz2 otp-8abcda0fa16bb06db5020f5dcd22e09aa37f412a.zip |
ssh: Adjusted default packet and window sizes
Diffstat (limited to 'lib/ssh/src/ssh_xfer.erl')
-rw-r--r-- | lib/ssh/src/ssh_xfer.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ssh/src/ssh_xfer.erl b/lib/ssh/src/ssh_xfer.erl index e7dd8e7098..259dc71aa5 100644 --- a/lib/ssh/src/ssh_xfer.erl +++ b/lib/ssh/src/ssh_xfer.erl @@ -47,8 +47,8 @@ -define(is_set(F, Bits), ((F) band (Bits)) == (F)). --define(XFER_PACKET_SIZE, 32768). --define(XFER_WINDOW_SIZE, 4*?XFER_PACKET_SIZE). +-define(XFER_PACKET_SIZE, 65536). +-define(XFER_WINDOW_SIZE, 20*?XFER_PACKET_SIZE). attach(CM, Opts) -> open_xfer(CM, Opts, []). |