Skip to content

Is there a good way to track how recently data was received from the remote end of an http2 session? #21730

Closed
@murgatroid99

Description

@murgatroid99

I am trying to detect when a connection underlying an http2 session is broken using this strategy. In short, I want to send an http2 ping when I have at least one active stream (which I can track myself) and when I have not received any data from the server. Is there a good way to determine when was the latest time that I received any data from the server?

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature requestIssues that request new features to be added to Node.js.http2Issues or PRs related to the http2 subsystem.stale

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions