config: experiment with some moderately aggressive keepalive settings (#614)
config: experiment with some moderately aggressive keepalive settings (#614)

Description: Because we associate connections to a network interface heuristically and because we don't currently have a good request-independent signal for connection health (like h2 pings), TCP keepalives may be the next best thing. This change aims to address reports of hung requests by setting fairly aggressive keepalive settings to detect dead connections.

After a connection is idle for 5 seconds, we'll begin sending keepalives on a 10 second interval. If any go unacked in that interval, we'll terminate the connection.

Eventually we'll want to tune this and/or make it configurable and/or rely on something at L7 (like h2 pings).

Risk Level: Low
Testing: In the wild

Signed-off-by: Mike Schore <270e364e708f2af319f244c09ceba52a03dbd980@gmail.com>
envoyproxy/envoy-mobile,envoyproxy/envoy-mobile,envoyproxy/envoy-mobile,envoyproxy/envoy-mobile,envoyproxy/envoy-mobile,envoyproxy/envoy-mobile,envoyproxy/envoy-mobile,envoyproxy/envoy-mobile,envoyproxy/envoy-mobile