http/2: extend keep alive timeout when frame is received (#21077)

To avoid HOL blocking impacts on slow connections.

Signed-off-by: Matt Klein <mklein@lyft.com>

Mirrored from https://github.com/envoyproxy/envoy @ d0befbbb952c979782857bdb986bec562d9a3c2f
pull/626/head
data-plane-api(Azure Pipelines) 3 years ago
parent 49d9ebddda
commit 4295a5f95b
  1. 4
      envoy/config/core/v3/protocol.proto

@ -336,7 +336,9 @@ message KeepaliveSettings {
google.protobuf.Duration interval = 1 [(validate.rules).duration = {gte {nanos: 1000000}}];
// How long to wait for a response to a keepalive PING. If a response is not received within this
// time period, the connection will be aborted.
// time period, the connection will be aborted. Note that in order to prevent the influence of
// Head-of-line (HOL) blocking the timeout period is extended when *any* frame is received on
// the connection, under the assumption that if a frame is received the connection is healthy.
google.protobuf.Duration timeout = 2 [(validate.rules).duration = {
required: true
gte {nanos: 1000000}

Loading…
Cancel
Save