Skip to content
This repository was archived by the owner on Apr 22, 2023. It is now read-only.
This repository was archived by the owner on Apr 22, 2023. It is now read-only.

No way to set TCP keepalive interval #4109

@deanm

Description

@deanm

Currently the TCP keepalive support (socket setKeepAlive) allows an argument to set the initial delay (aka tcp_keepalive_time / TCP_KEEPIDLE), which is implemented in uv__tcp_keepalive. However there is no support for TCP_KEEPINTVL or TCP_KEEPCNT, which means you cannot change the time between keepalive probes or the number of failed probes before a connection is considered broken.

Is there a reason it was decided to only allow configuration of the initial delay?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions