Skip to content

Add option to disable UNIX domain sockets #2046

@sindresorhus

Description

@sindresorhus

https://github.com/sindresorhus/got/blob/main/documentation/tips.md#unix-domain-sockets

It's a niche feature and have heard that some teams have their own custom code to prevent it, so it makes sense to have the ability to turn it off in Got.

I suggest:

  • Add option to turn off support for UNIX domain sockets. Make it false by default.
  • In Got v13 (next major release), change it to be true by default.

Open questions:

  • Should a Unix socket be able to redirect to HTTP?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions