v0.3.7

rathole-org/ratholev0.3.7Jan 14, 2022by github-actions[bot]

AI Summary

Improves connection reliability by exposing TCP parameters and adding IPv6 support.

Key Highlights

  • Expose TCP_NODELAY and TCP_KEEPALIVE settings
  • Support IPv6 for UDP local_address
  • Make accept operation cancel safe and add a timeout
  • Flush buffers during handshaking
  • Reduce crate size

New Features

  • TCP_NODELAY and TCP_KEEPALIVE exposure

Full Release Notes

## What's Changed
This release contains various reliability improvement, including tweaking keepalive parameters to detect dead connections in time.

* feat: expose TCP_NODELAY and TCP_KEEPALIVE by @rapiz1 in https://github.com/rapiz1/rathole/pull/96
* fix: emit colored log only when STDOUT is a tty by @rapiz1 in https://github.com/rapiz1/rathole/pull/89
* fix: support IPv6 `local_address` for UDP by @rapiz1 in https://github.com/rapiz1/rathole/pull/94
* fix: make `accept` cancel safe and add a timeout by @rapiz1 in https://github.com/rapiz1/rathole/pull/93
* fix: flush when handshaking by @rapiz1 in https://github.com/rapiz1/rathole/pull/99
* chore: reduce crate size by @Enter-tainer in https://github.com/rapiz1/rathole/pull/88

**Full Changelog**: https://github.com/rapiz1/rathole/compare/v0.3.4...v0.3.7