Skip to content

v0.4.2: a dropped bridge stream starts no more work

Choose a tag to compare

@github-actions github-actions released this 23 Oct 21:39
· 7 commits to main since this release
v0.4.2
df66223

Fixed

  • A stream that Offload or Blocking pulls from a sync iterator on the
    blocking pool (an Offload reply stream, a Blocking::feed request
    stream) no longer calls the iterator's next once its reader is gone.
    Before, after each item was handed over the pull called next again
    without checking, and only the send after it found the stream dropped:
    one more unit of the implementation's work ran for nobody, possibly
    after the caller had dropped the stream and moved on. A next already
    running when the stream is dropped still finishes.

Changed

  • Build pin: bazel_utils 0.4.2. It adds plugin versions to its catalog
    and changes nothing this build uses; the generated code is the same.

Upgrading

No code change is needed: update protocontract to 0.4.2
(cargo update -p protocontract). The plugin's generated code is the same
as in 0.4.1.