Skip to content

Cannot SetKeepAlive() on the tcp socket created by Dial() also true when using .UnderlyingConn() and type-asserting as net.TCPConn from net.Conn or tls.Conn object #765 #767

@andrewhodel

Description

@andrewhodel

UnderlyingConn().(*net.TCPConn).SetKeepAlive(bool)

This is required currently to modify the TCP keep alive for a websocket created via golang gorilla Dial().

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions