Skip to content

http2: implement ref() and unref() on client sessions  #16617

Closed
@mcollina

Description

@mcollina
  • Version: master, 8.8.1
  • Platform: all
  • Subsystem: http2

Currently the client sessions cannot be unref(), which means they will keep the process alive if they are not destroyed. Adding support for ref() and unref() (https://nodejs.org/api/net.html#net_socket_ref) would add the possibility to create some long-running clients for the life of the process.

Metadata

Metadata

Assignees

No one assigned

    Labels

    http2Issues or PRs related to the http2 subsystem.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions