aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssh/src/ssh_connect.hrl
diff options
context:
space:
mode:
authorHans Nilsson <[email protected]>2016-01-15 17:57:28 +0100
committerHans Nilsson <[email protected]>2016-01-18 12:21:26 +0100
commit8abcda0fa16bb06db5020f5dcd22e09aa37f412a (patch)
tree168abf9f5159be55cb1404cda615a43f59174611 /lib/ssh/src/ssh_connect.hrl
parent1bb8e4ae6eaf2f18d3b2ccc8e77cd7228e1c6e8a (diff)
downloadotp-8abcda0fa16bb06db5020f5dcd22e09aa37f412a.tar.gz
otp-8abcda0fa16bb06db5020f5dcd22e09aa37f412a.tar.bz2
otp-8abcda0fa16bb06db5020f5dcd22e09aa37f412a.zip
ssh: Adjusted default packet and window sizes
Diffstat (limited to 'lib/ssh/src/ssh_connect.hrl')
-rw-r--r--lib/ssh/src/ssh_connect.hrl5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/ssh/src/ssh_connect.hrl b/lib/ssh/src/ssh_connect.hrl
index 9f9f3de8fa..0c9ddad641 100644
--- a/lib/ssh/src/ssh_connect.hrl
+++ b/lib/ssh/src/ssh_connect.hrl
@@ -24,8 +24,9 @@
-type channel_id() :: integer().
--define(DEFAULT_PACKET_SIZE, 32768).
--define(DEFAULT_WINDOW_SIZE, 2*?DEFAULT_PACKET_SIZE).
+-define(DEFAULT_PACKET_SIZE, 65536).
+-define(DEFAULT_WINDOW_SIZE, 10*?DEFAULT_PACKET_SIZE).
+
-define(DEFAULT_TIMEOUT, 5000).
-define(MAX_PROTO_VERSION, 255).