Skip to content

v0.22.3

Choose a tag to compare

@johnwason johnwason released this 03 Dec 03:08
· 47 commits to master since this release
6e739b2

What's Changed

RobotRaconteur.Sharp 0.22.3 contains 32 fixes (#45), the .NET form of fixes made in Robot Raconteur Core 1.3.1 and 1.3.2, and the server-side
WebSocket change from #43. Version 0.22.2 was not released; its change (#43) is included here.

Several of the fixes make nodes more robust against malformed or hostile peers: service definitions whose types took
exponential time to verify, replies to protocol requests that were queued without limit for a peer that does not read
them, a repeated ConnectClient on one connection, and pipe acks that grew without bound. Others fix node setup,
subscriptions, timers and the TCP transport. Users should upgrade.

Behavior changes

  • A connection whose peer sends protocol requests without reading the replies is closed.
  • A second ConnectClient on a connection is refused, and a service client is removed when its transport connection closes.
  • RobotRaconteurNodeSetup registers and configures transports before starting their servers, rejects an out-of-range
    --robotraconteur-tcp-port, and shuts the node down when setup fails.
  • TcpTransport.StartServer(0) listens on the same port for IPv4 and IPv6.
  • Service definitions with an implicit enum value after int.MaxValue are rejected, as in Core.
  • ServiceSubscriptionManager.Init checks the names before creating any subscription, and IsConnected returns false
    for an unknown name instead of throwing.
  • Server-side WebSocket framing uses the framework's WebSocket.CreateFromStream (#43). It accepts unmasked client
    frames, which the old codec rejected.

There are no API changes.

These issues were discovered during AI scanning using Claude Opus 5.5 and Claude Fable 5.2.

Full Changelog: v0.22.1...v0.22.3