Commit Graph

30 Commits (5bab4131e186fbaa08943987fa9f7deb6a409642)

Author SHA1 Message Date
John Fleming 763ef24108 Address the telnet console bug. Add wait_for for drain() call. If we're stuck on drain then the buffer isn't getting emptied. 5 seconds after drain() blocks, exception will be thrown and client will be removed from connection table and will no longer be a problem.
4 months ago
John Fleming 54abf85523
Update telnet_server.py
4 months ago
John Fleming ac86717bc0
Update telnet_server.py
4 months ago
grossmj 30c85703c8 Attempt to fix "cannot reopen console". Ref #2182
1 year ago
grossmj a7d19fd89a Fix StreamWriter doesn't have the wait_closed() method in Python3.6. Fixes #2170
1 year ago
grossmj b3a6b9173b Fix reset console. Fixes #1619
1 year ago
grossmj 1148dbc48e Fix issue when calling reset_console with running VPCS and Qemu nodes. Ref #1619
1 year ago
grossmj 8aada49414 Some fixes for early support for Python3.10
3 years ago
grossmj bb284d082a Set socket options SO_KEEPALIVE and TCP_NODELAY for embedded Telnet server. Ref #1335
5 years ago
grossmj 56412b35e0 Merge branch '2.1' into 2.2
6 years ago
grossmj 60ac6d2dfe Telnet console resize support for Docker VM.
6 years ago
grossmj 76af98404a Drop Python 3.4 and switch to async / await syntax for asyncio. Fixes #1425
6 years ago
grossmj 4d95e0b51f Catch some exceptions.
6 years ago
grossmj 4021a13651 Catch exceptions in various locations to fix small issues reported by Sentry.
6 years ago
grossmj 814526ba26 Add missing coroutine decorator Ref https://github.com/GNS3/gns3-gui/issues/2566
6 years ago
grossmj 3560cda06c Use asyncio.ensure_future() instead of asyncio.async() with conservative approach to support Python < 3.4.4. Fixes https://github.com/GNS3/gns3-gui/issues/2566
6 years ago
ziajka 860ca3b35d Remotely close telnet console. Ref #2330
7 years ago
ziajka 96a0b52cf8 EthernetSwitch closing connections, Ref: gui/#2330
7 years ago
ziajka 86bd7b6058 Added missing corutine flag, fixes #1145
7 years ago
ziajka ac508435c3 History support for console and telnet application, Fixes: #1083
7 years ago
Julien Duponchelle 69f154d9cc
Correctly initialize connection to VPCS console
8 years ago
Julien Duponchelle 553e137a13
Support for serial console for Virtual BOX and VMware using asyncio
8 years ago
Julien Duponchelle 871fea33e0
Cleanup unbreakable space
8 years ago
Julien Duponchelle dcbaa62df8
Better aux console for docker
8 years ago
Julien Duponchelle ad6fb664a2
Fix detection of EOF in Docker telnet console
8 years ago
Julien Duponchelle dab1b26569
Aux console for Docker
8 years ago
Julien Duponchelle 87eef545e1
Correctly close the telnet connection for docker
8 years ago
Julien Duponchelle f35c742b07
Avoid consuming 100% of CPU when stopping docker container
8 years ago
Julien Duponchelle c2b78400f2
Fix closing a docker console jump to 100% of CPU usage
8 years ago
Julien Duponchelle 33edbefa3b Docker cleanup and improvements
9 years ago