Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add TCP keepalive option #143

Merged
merged 2 commits into from
Mar 22, 2023
Merged

Add TCP keepalive option #143

merged 2 commits into from
Mar 22, 2023

Commits on Mar 21, 2023

  1. tcp: Add keepalive option

    The reason the actual work is done when pending() returns
    PendingStatus::Ready is that on Windows the option cannot be set during
    connect (when connect() was called but the socket is not yet connected).
    Also this way it applies to both outgoing and incoming connections.
    
    Signed-off-by: Konrad Gräfe <kgraefe@paktolos.net>
    kgraefe committed Mar 21, 2023
    Configuration menu
    Copy the full SHA
    14ed109 View commit details
    Browse the repository at this point in the history
  2. framed_tcp: Add TCP keepalive option

    Signed-off-by: Konrad Gräfe <kgraefe@paktolos.net>
    kgraefe committed Mar 21, 2023
    Configuration menu
    Copy the full SHA
    2c72071 View commit details
    Browse the repository at this point in the history