summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--paramiko/channel.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/paramiko/channel.py b/paramiko/channel.py
index 164e9243..df6b1cf6 100644
--- a/paramiko/channel.py
+++ b/paramiko/channel.py
@@ -40,7 +40,9 @@ from paramiko import pipe
# lower bound on the max packet size we'll accept from the remote host
-MIN_PACKET_SIZE = 1024
+# Minimum packet size is 32768 bytes according to
+# http://www.ietf.org/rfc/rfc4254.txt
+MIN_PACKET_SIZE = 2 ** 15
class Channel (object):