Skip to content

yamux stream destructor #240

Open

Description

@turuslan

Description

  • YamuxedConnection must hold weak_ptr<YamuxStream>
  • ~YamuxStream must cleanup resources immediately
  • remove YamuxedConnection cleanup 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

Activity

  1. bismuth01 commented on Jul 8, 2025

    @bismuth01
    Contributor

    Can this issue be assigned to me ?

  2. added a commit that references this issue on Oct 9, 2025
    9442873
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions