mirror of
https://github.com/shizunge/endlessh-go.git
synced 2026-06-23 04:10:08 +00:00
b6b3fe2678
Simplify the ghost connection fix by reusing the existing interval duration as the write deadline. This removes the need for a separate -write_deadline_ms flag while maintaining the same protection against goroutine leaks from dead connections.