yamux stream destructor
Open
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 492
- Forks
- 130
- PR merge metrics
- No merged PRs in 30d
Description
Description
YamuxedConnectionmust holdweak_ptr<YamuxStream>~YamuxStreammust cleanup resources immediately- remove
YamuxedConnectioncleanup timer - fix yamux pending streams broken by this change
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
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the YamuxedConnection and YamuxStream implementations, then trace the cleanup timer and pending-stream handling. Done means connection stream references are weak, YamuxStream destruction cleans resources immediately, the timer is removed, and pending streams still work without causing CONNECTION_TOO_MANY_STREAMS.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- networking
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100