diff options
author | Jeff Quast <contact@jeffquast.com> | 2014-12-14 00:03:42 -0800 |
---|---|---|
committer | Jeff Forcier <jeff@bitprophet.org> | 2014-12-17 16:04:25 -0800 |
commit | 25e3c0c34e98b50f429a2e72ecc059d469dc1168 (patch) | |
tree | 0447b25d06bcce832b9e320fd0a057a2a8adde8f | |
parent | 8e1417f9494d6806ce875e8a4c127beb37217d8a (diff) |
Log "clamped" value of self.out_max_packet_size
This log message misleads one to believe a maximum packet
size, such as 16384 requested by OpenSSH has been honored,
when in fact it is "clamped" to 32768.
-rw-r--r-- | paramiko/channel.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/paramiko/channel.py b/paramiko/channel.py index f1b0483d..8a97c974 100644 --- a/paramiko/channel.py +++ b/paramiko/channel.py @@ -890,7 +890,7 @@ class Channel (ClosingContextManager): self.out_max_packet_size = self.transport. \ _sanitize_packet_size(max_packet_size) self.active = 1 - self._log(DEBUG, 'Max packet out: %d bytes' % max_packet_size) + self._log(DEBUG, 'Max packet out: %d bytes' % self.out_max_packet_size) def _request_success(self, m): self._log(DEBUG, 'Sesch channel %d request ok' % self.chanid) |