summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorOlle Lundberg <geek@nerd.sh>2014-08-14 14:20:24 +0200
committerOlle Lundberg <geek@nerd.sh>2014-08-14 14:20:24 +0200
commitb5c537c4c88cc39323717531a46a3241eb7ca7f5 (patch)
tree011df1aa621319a941a8ac38d4a2c954405e1888
parent05d2b425c8082c2b5dfba90dd4f2db978d6d2774 (diff)
Add a MAX_WINDOW_SIZE constant.
-rw-r--r--paramiko/channel.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/paramiko/channel.py b/paramiko/channel.py
index df6b1cf6..90761d43 100644
--- a/paramiko/channel.py
+++ b/paramiko/channel.py
@@ -44,6 +44,8 @@ from paramiko import pipe
# http://www.ietf.org/rfc/rfc4254.txt
MIN_PACKET_SIZE = 2 ** 15
+# Max windows size according to http://www.ietf.org/rfc/rfc4254.txt
+MAX_WINDOW_SIZE = 2**32 -1
class Channel (object):
"""