Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Sep 3, 2024. It is now read-only.
This repository was archived by the owner on Sep 3, 2024. It is now read-only.

Move next_stream_idto ConnectionContext #86

@TimEvens

Description

@TimEvens

Currently next_stream_id is at the transport class scope. This is fine for clients, but it's not really ideal for servers. Moving this to ConnectionContext will make this connection specific, which is what it should be.

When moving it should be renamed to last_stream_id since it's really the last stream number assigned, not the next one available. This is used to feed it back into make_stream_id()

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions