mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-11-16 21:20:08 +00:00
When the connection of an existing ControlMaster to the server dies without the master noticing, for example after a network change or suspend, new sessions using it hang. ssh -O check does not detect this as it only talks to the master over its local socket. Check the master in parallel with starting the session, using a request that requires a round trip to the server, so that there is no added latency when the master is healthy. If the master does not respond in time, kill the stuck session, stop the master and start the session again over a new connection. Similarly time out the port forward request used by forward_remote_control and retry it with a new master. Fixes #10691 |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| askpass.go | ||
| config.go | ||
| config_test.go | ||
| main.go | ||
| main.py | ||
| main_test.go | ||
| utils.go | ||
| utils.py | ||
| utils_test.go | ||