Added dummy check_channel_window_change_request for testing

This commit is contained in:
Sheng
2018-05-30 17:35:51 +08:00
parent 96d9ae5b4d
commit cb5424a166
3 changed files with 17 additions and 3 deletions
+1 -1
View File
@@ -216,7 +216,7 @@ class WsockHandler(MixinHandler, tornado.websocket.WebSocketHandler):
return
resize = msg.get('resize')
if resize:
if resize and len(resize) == 2:
try:
worker.chan.resize_pty(*resize)
except (TypeError, struct.error, paramiko.SSHException):