Skip to content

ProxyHost for {:socks5, ProxyHost, ProxyPort} no longer allows atom hostnames like :localhost #858

@elitepleb

Description

@elitepleb

Very minor issue all things considered, in hackney 1.x, the {:socks5, ProxyHost, ProxyPort} branch in maybe_proxy had no guard clause, and passed through :hostname to gen_tcp:connect, the new get_proxy_config function added a is_list(ProxyHost) guard which silently falls through to _ -> false and ignores the proxy.

Great work on the 4.0 release!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions