Skip to content

socks5 support for proxying requests #1084

@catdevnull

Description

@catdevnull

describe the feature you'd like to see

hi! cobalt currently supports http/s proxies through undici's ProxyAgent. unfortunately, undici's ProxyAgent doesn't support socks4/5 proxies, which are useful as sometimes http/s proxies aren't available.

is there interest in implementing socks4/5 proxies, like with fetch-socks? it should be fairly straight forward (check if API_EXTERNAL_PROXY is a socks4/5 proxy, if yes, create the dispatcher using fetch-socks)

thanks!

additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    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