From 586318c475670d4c1794e39f1d4b44b5e889b0ed Mon Sep 17 00:00:00 2001 From: David Wilson Date: Sun, 1 Apr 2018 23:49:43 +0100 Subject: [PATCH] Fix preamble_size.py. --- preamble_size.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/preamble_size.py b/preamble_size.py index 9af20795..83e29bc8 100644 --- a/preamble_size.py +++ b/preamble_size.py @@ -14,7 +14,7 @@ import mitogen.sudo router = mitogen.master.Router() context = mitogen.parent.Context(router, 0) -stream = mitogen.ssh.Stream(router, 0, hostname='foo') +stream = mitogen.ssh.Stream(router, 0, max_message_size=0, hostname='foo') print 'SSH command size: %s' % (len(' '.join(stream.get_boot_command())),) print 'Preamble size: %s (%.2fKiB)' % (