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

Close read write #92

Closed
wants to merge 6 commits into from
Closed

Conversation

filoozom
Copy link

@filoozom filoozom commented Apr 19, 2021

See libp2p/js-libp2p-mplex#122

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

Closes #67 and #90

Copy link
Member

@vasco-santos vasco-santos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good to me. Can you just rebase this with origin master so that I can double test these branches in libp2p before a release?

vasco-santos and others added 4 commits April 20, 2021 11:26
BREAKING CHANGE: This adds closeWrite and closeRead checks in the tests, which will cause test failures for muxers that dont implement those.
src/stream-muxer/tests/close-test.js Outdated Show resolved Hide resolved
src/stream-muxer/tests/close-test.js Outdated Show resolved Hide resolved
@BigLep BigLep requested a review from jacobheun May 17, 2021 14:42
@lidel lidel added the status/blocked Unable to be worked further until needs are met label May 31, 2021
@lidel
Copy link
Member

lidel commented May 31, 2021

(note from triage) blocked until we decide how to handle aborts in browser/node
Closing this PR as the solution is most likely elsewhere (properly cascade close event), but thank you for opening this to highlight the problem @filoozom

Let's continue in libp2p/js-libp2p-mplex#120

@lidel lidel closed this May 31, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
status/blocked Unable to be worked further until needs are met
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

4 participants