softether-go/cmd
Git Sagar 20f41353e7 tunnel: add -keepalive-timeout-secs for dead connection detection
Tracks last server receive time (atomic) and runs a watchdog goroutine
that closes the connection if no data arrives within the timeout,
triggering reconnection. Also fixes Close() to guard Conn.Close()
inside sync.Once so concurrent/repeated calls are safe.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-07-11 11:54:12 -03:00
..
softether-go tunnel: add -keepalive-timeout-secs for dead connection detection 2026-07-11 11:54:12 -03:00