Skip to content

v0.3.2

Choose a tag to compare

@joaquinbejar joaquinbejar released this 11 Jun 15:26
· 32 commits to main since this release
d71c852

Fixed

  • Half-open connections no longer hang connect_direct forever (#5):
    • LS_keepalive_millis / LS_inactivity_millis are now actually sent in create_session when set_keepalive_interval / set_reverse_heartbeat_interval are configured (previously stored but never used).
    • New liveness watchdog in the read loop: if no frame (data or probe) arrives within the effective keepalive window plus a 5 s grace, connect_direct returns a connection error so callers can reconnect. The window widens to the server-declared keepalive from conok.
    • Reverse heartbeat control messages are sent on the configured cadence, proving client liveness and surfacing write errors promptly on dead connections.
  • conerr now fails the connection with an error instead of silently breaking the submessage loop; reqerr is logged and the session continues.
  • Clippy collapsible_match fix in Subscription::set_requested_snapshot.

No API changes — fully semver-compatible with 0.3.1.