Skip to content

agent-base monkey patch breaks HTTPS requests #120

@PicturElements

Description

@PicturElements

Up until version 6.0.0, the agent-base package was patching https.request. As a result, it could completely break requests made with the (url, options, callback) signature, as specified by the core https package. As this patch affects HTTPS requests made globally, unrelated code can be severely affected.

Fix: update to the latest version of https-proxy-agent (5.0.0) to fix this issue.

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