Skip to content
This repository has been archived by the owner on Jun 26, 2023. It is now read-only.

feat: support for stream muxer closeRead and closeWrite #67

Closed
wants to merge 5 commits into from

Conversation

jacobheun
Copy link
Contributor

This adds tests for closeRead and closeWrite on the muxer streams.

Also:

  • Removed libp2p-tcp in favor of it-pair to avoid circular deps
  • Connection.close() will now close its internal streams to avoid lingering streams.

BREAKING CHANGE: This adds closeWrite and closeRead checks in the tests, which will cause test failures for muxers that dont implement those.

@achingbrain
Copy link
Member

Superseded by #90

@achingbrain achingbrain deleted the feat/streams branch May 19, 2022 09:30
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants