mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-03 05:51:15 +02:00
Merge pull request #2948 from cristian-ciobanu/ssh-web-console-crash
fix(console): keep SSH web console open after terminal resize
This commit is contained in:
1 file changed
+5
-1
@@ -117,7 +117,11 @@ class AsyncioSSHServer:
|
||||
|
||||
try:
|
||||
while True:
|
||||
data = await process.stdin.read(READ_SIZE)
|
||||
try:
|
||||
data = await process.stdin.read(READ_SIZE)
|
||||
except asyncssh.TerminalSizeChanged:
|
||||
# The upstream serial stream has no terminal size to update.
|
||||
continue
|
||||
if not data:
|
||||
break
|
||||
|
||||
|
||||
Reference in new issue
Block a user