Skip to content

TCP keepalive functionality isn't ideal #29

Closed
@sfackler

Description

@sfackler

I discovered during the implementation of RFC 1461 that we should tweak the APIs that we expose related to TCP keepalive. Right now we have a getter and setter for an Option<Duration>, but there are two problems with this:

  • There are two distinct operations at the socket level that are being conflated - enabling keepalive and customizing the associated interval. We'd probably want to separate these out.
  • You can't retrieve the keepalive interval on Windows.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions