Skip to content
This repository was archived by the owner on Feb 26, 2021. It is now read-only.

Conversation

jacobheun
Copy link
Contributor

This is a work around to prevent .end from stalling. If there are open streams on the muxer that spdy-transport doesn not issues go away for, these streams can prevent the muxer from closing. This change will preemptively destroy the streams to get around this issue.

spdy-transport also destroys streams when it closes, so we don't need to do that in our close listener.

Required by libp2p/js-libp2p-switch#313

License: MIT
Signed-off-by: Jacob Heun <[email protected]>
@ghost ghost assigned jacobheun Mar 22, 2019
@ghost ghost added the in progress label Mar 22, 2019
@jacobheun jacobheun requested a review from vasco-santos March 22, 2019 15:38
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.

LGTM!

@jacobheun jacobheun merged commit 4b1ebc7 into master Mar 25, 2019
@jacobheun jacobheun deleted the fix/streams branch March 25, 2019 09:56
@ghost ghost removed the in progress label Mar 25, 2019
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