github trzsz/tsshd v0.1.10

latest release: dev
one month ago

🚀 Features & Enhancements

  • UDP Datagram-Only Mode: Added DialUDPDatagramOnly for strict UDP send semantics, dropping packets that exceed the budget or arrive during reconnection instead of falling back to reliable streams. This allows tunneled protocols (like QUIC) to properly run path MTU discovery (#44).
  • Transport Statistics: Exposed per-connection transport stats via SshUdpClient.GetTransportStats(), providing QUIC/KCP metrics (RTT, retransmits, byte/packet counts) for client UIs (#44).
  • Health Event Hooks: Added SshUdpClient.OnHealthEvent to push heartbeat timeout and recovery transitions to embedding apps, eliminating the need to poll GetLastActiveTime (#44).
  • Go 1.26 Upgrade: Upgraded project environment and GitHub Actions CI to Go 1.26.
  • Improved Logging: The server now logs the UDP network and address.

🐛 Bug Fixes

  • Session Output Loss: Fixed an issue where cmd.Wait prematurely closed pipe readers, causing buffered output to drop if forwarding was slower than the process exit (#45).
  • Memory Leak in Attachable Mode: Fixed a tsshd session memory leak by moving from per-session reconnect callbacks to a server-level callback, allowing completed sessions to be garbage collected (#40).
  • Background Stderr Handling: Fixed tsshd background process stderr handling (Resolves trzsz/trzsz-ssh#283).

🧰 Maintenance & Refactoring

  • Replaced strings.ToLower equality checks with strings.EqualFold.
  • Updated project dependencies.

Full Changelog: v0.1.9...v0.1.10

Don't miss a new tsshd release

NewReleases is sending notifications on new releases.