Skip to content

v0.1.2

Latest
Compare
Choose a tag to compare
@schmichael schmichael released this 24 Sep 15:45
· 3 commits to master since this release
17017e9

Significant Changes

  • Fixed a case where Streams may continue to exist and block operations even after their Session has been closed. #127 ensures when a Session closes that blocking Stream operations exit as well.
  • Allow Reads on locally closed streams. Prior to #131 calling Close() and then Read() on a Stream would fail. Close should only indicate the Stream is done writing. The peer must call Close before Read considers the stream closed. See #131 for details.
  • Tests have been improved significantly. See below for details.

Full Changelog

  • Fix function comments based on best practices from Effective Go by @Daanikus in #74
  • Fix #72, abstract logger into interface by @wweir in #76
  • Add ability to cancel Accept by passing a context by @evanphx in #80
  • fix: typo by @testwill in #123
  • chore: update tests to pass the race detector and linter by @rboyer in #130
  • Streams should check for Session shutdown when waiting for data & clean up timers by @lattwood in #127
  • Allow half-closed reads and test against TCP/TLS connections by @schmichael in #131

New Contributors

Full Changelog: v0.1.1...v0.1.2