Skip to content

non readable Duplex should not be readableAborted #40800

@ronag

Description

@ronag
const x = new stream.Duplex({ readable: false, _write () {} })
x.destroy()
assert(!x.readableAborted)

We are missing a check in readableAborted getter regarding whether the Duplex is readable at all.

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issueIssues that are suitable for first-time contributors.streamIssues and PRs related to the stream subsystem.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions