Skip to content

http2: when is socket._paused set to true? #16213

Closed
@trivikr

Description

@trivikr

As part of improving code coverage for http2 in #14985, I wrote some unit tests for socket operations in #16211

I noticed that:

However, I didn't find any code which sets socket._paused to true https://github.com/nodejs/node/search?utf8=%E2%9C%93&q=_paused&type=
Is this a bug? Or is there a way to mock value of socket._paused while testing?

Metadata

Metadata

Assignees

No one assigned

    Labels

    http2Issues or PRs related to the http2 subsystem.questionIssues that look for answers.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions