Skip to content

Cloning of response leads to issues #591

Closed
@benmccann

Description

@benmccann

This line:

const clone = response.clone();

Causes issues in Node where it dies unexpectedly without any message on server. The Node high water mark limit is much smaller than browser. Can increase high water mark as workaround

There's multiple issues talking about this in node-fetch (e.g. 671 and 151). Their recommendation is to stream and provide back pressure: node-fetch/node-fetch#151 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions