ts6-viewer/http
joshii-h c6acfbc94b fix: prevent bufio panics and goroutine leaks in SSH client
The default bufio.Reader buffer (4096 bytes) is too small for large
ServerQuery responses (channellist, clientlist), causing runtime panics
that leave the viewer in an unrecoverable state.

Changes:
- Increase SSH read buffer from 4096 to 64KB to handle large responses
- Add done channel to SSHClient for clean keepAlive goroutine shutdown
- Stop orphaned keepAlive goroutines after reconnect to prevent leaks
- Add panic recovery in exec() so panics are handled as errors
- Treat recovered panics as connection errors to trigger reconnect
- Wrap HTTP handlers with recovery middleware as a safety net
2026-03-04 10:00:02 +01:00
..
http-helper.go Added fontawesome 2026-02-12 18:16:00 +01:00
router.go fix: prevent bufio panics and goroutine leaks in SSH client 2026-03-04 10:00:02 +01:00