mirror of
https://seed.radicle.dev/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5.git
synced 2026-11-15 07:40:36 +08:00
Ensures dead connections are not kept around longer than necessary. Note that the ping/pong mechanism is more expensive and checks that the session is active and healthy, while TCP_KEEPALIVE is lower level, cheaper, and checks that the connection is still alive.