Skip to content

quic: Should QuicStream be destroyed, if onstream is not set #64192

Description

@martenrichter

Currently, incoming streams are destroyed, if the onstream callback is not set.
This sounds at first sight logically, however one can also use for http/3 onHeaders callback, later with webtransport support, it would be also onsessionid which is called for a webtransport data stream.
Then for http/3 onstream is most times pretty useless, as the other callbacks, which are opposed to the current docu are called later than onstream for h3 are more useful. So I have actually only stubs in onstream.

This is related to @pimterry api redesign (@jasnell may be also interested).

Metadata

Metadata

Assignees

No one assigned

    Labels

    quicIssues and PRs related to the QUIC transport implementation.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions