Skip to content

proposal: crypto/tls: add DialWithConn(conn net.Conn, timeout time.Duration, addr string, config *Config) (*Conn, error) #31848

Description

@mei-rune

I need build a tls conn on the windows namepipe, but DialWithDialer is insufflcient, becase net.Dialer isnot a interface, I cannot replace it with my Dialer.

similar, I run tls conn on other conn also, like serial port ...

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions