Skip to content

net/http: HTTPS proxies support #11332

@ailg

Description

@ailg

net/http supports HTTP proxies, where HTTPS is achieved with CONNECT. It would be nice to add support for HTTPS proxies (https://www.chromium.org/developers/design-documents/secure-web-proxy), where the client first establishes a TLS connection to the proxy.

http://tip.golang.org/src/net/http/transport.go?#L754

// Note: no support to https to the proxy yet.

Maybe Transport.DialTLS (http://godoc.org/net/http#Transport) could be used for that. Currently it says:

// DialTLS specifies an optional dial function for creating
// TLS connections for non-proxied HTTPS requests.

Metadata

Metadata

Assignees

No one assigned

    Labels

    FeatureRequestIssues asking for a new feature that does not need a proposal.FrozenDueToAgeNeedsFixThe path to resolution is known, but the work has not been done.help wanted

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions