Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

yamux stream destructor #240

Open
turuslan opened this issue Apr 11, 2024 · 0 comments
Open

yamux stream destructor #240

turuslan opened this issue Apr 11, 2024 · 0 comments

Comments

@turuslan
Copy link
Contributor

Description

  • YamuxedConnection must hold weak_ptr<YamuxStream>
  • ~YamuxStream must cleanup resources immediately
  • remove YamuxedConnection cleanup timer

Motivation

close streams earlier to avoid CONNECTION_TOO_MANY_STREAMS

Current Implementation

streams are not closed until timer

Are you planning to do it yourself in a pull request ?

Maybe

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant