Skip to content

http2 - compat "socket" #15313

@ronag

Description

@ronag

The compat socket getter should probably have a bit more null checks in order to be compat with old code:

i.e.

  get socket() {
    return this.stream && this.stream.session && this.stream.session.socket || undefined;
  }

instead of

  get socket() {
    return this.stream.session.socket;
  }

@apapirovski

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