Skip to content

Possible bug in streams between node 8.1.4 and 8.2.0 #15029

@SimenB

Description

@SimenB
  • Version: 8.1.4 & 8.2.0
  • Platform: MacOS
  • Subsystem: Streams (or http?)

We have some code which uses pump, and between 8.1.4 and 8.2.0 the handler in certain cases stopped being called with an error. We have a test that our error handler is invoked correctly, which fails on newer versions of node.

In 8.1.4 we hit https://github.com/mafintosh/end-of-stream/blob/0ae1658b8167596fafbb9195363ada3bc5a3eaf2/index.js#L44, whilst in 8.2.0 (and later) we don't.

I've created a repository with reproduction code.

https://github.com/SimenB/node-stream-repro

Metadata

Metadata

Assignees

No one assigned

    Labels

    streamIssues and PRs related to the stream subsystem.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions