Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit f4443955 authored by Rahul Arya's avatar Rahul Arya
Browse files

[RootCanal] Add heartbeats to handle remote disconnections

Ping the peer if we haven't heard anything from it in a while. Respond
to all pings with an ignored PING_RESPONSE. If no packet is received for
some duration, drop the connection.

The LSTO duration is not currently configurable. We will also "panic"
and keep sending pings if the peer takes a while to respond, but that's
probably fine (since ticks aren't that frequent).

Bug: 243698555
Tag: #feature
Test: manual
Change-Id: Id5f7310c5322adfd8548953228ab44c6e7d861b8
parent 508ea0a3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment