• Steven Allen's avatar
    update go-stream-muxer · 1b9aa778
    Steven Allen authored
    * Fix the tests to work with separate reset/close methods.
    * Ensure we interrupt writes on reset.
    * Always delay the proper time even if we're sending short messages.
    * Copy buffers as we send them. `Write` is not allowed to hang onto buffers. If
      we run into performance issues, we can always add a buffer pool.
    1b9aa778
mock_stream.go 4.58 KB