diff options
author | Olle Lundberg <geek@nerd.sh> | 2014-08-14 13:58:34 +0200 |
---|---|---|
committer | Olle Lundberg <geek@nerd.sh> | 2014-08-14 13:58:34 +0200 |
commit | 05d2b425c8082c2b5dfba90dd4f2db978d6d2774 (patch) | |
tree | fb794d6e012b51ec30bc58d9860e4828a668d348 | |
parent | e4e499fdf327a4f7db60bc9245bf9a8d6dc3da39 (diff) |
Bump the MIN_PACKET_SIZE to what's in the RFC.
-rw-r--r-- | paramiko/channel.py | 4 |
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): |