Skip to content

npm: unit-http: should we replace the https package as well? #1025

Open
@javorszky

Description

@javorszky

Issue #1013 revealed a bug where imports with signature node:http weren't replaced.

The current npm package unit uses as a custom loader looks for the http and websocket packages. Node applications do have the option to import the https package as well, which also has a .listen() method.

Do we need to replace the built in node https package with a unit specific https package, or will the underlying http package take care of the unit specific functionality as well?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions