connection.proto

Package: gloo.solo.io

Types:

Source File: github.com/solo-io/gloo/projects/gloo/api/v1/connection.proto

ConnectionConfig

Fine tune the settings for connections to an upstream

"maxRequestsPerConnection": int
"connectTimeout": .google.protobuf.Duration
"tcpKeepalive": .gloo.solo.io.ConnectionConfig.TcpKeepAlive
"perConnectionBufferLimitBytes": .google.protobuf.UInt32Value

Field Type Description Default
maxRequestsPerConnection int Maximum requests for a single upstream connection (unspecified or zero = no limit).
connectTimeout .google.protobuf.Duration The timeout for new network connections to hosts in the cluster.
tcpKeepalive .gloo.solo.io.ConnectionConfig.TcpKeepAlive Configure OS-level tcp keepalive checks.
perConnectionBufferLimitBytes .google.protobuf.UInt32Value Soft limit on size of the cluster’s connections read and write buffers. If unspecified, an implementation defined default is applied (1MiB). For more info, see the envoy docs.

TcpKeepAlive

If set then set SO_KEEPALIVE on the socket to enable TCP Keepalives. see more info here: https://www.envoyproxy.io/docs/envoy/latest/api-v2/api/v2/core/address.proto#envoy-api-msg-core-tcpkeepalive

"keepaliveProbes": int
"keepaliveTime": .google.protobuf.Duration
"keepaliveInterval": .google.protobuf.Duration

Field Type Description Default
keepaliveProbes int Maximum number of keepalive probes to send without response before deciding the connection is dead.
keepaliveTime .google.protobuf.Duration The number of seconds a connection needs to be idle before keep-alive probes start being sent. This is rounded up to the second.
keepaliveInterval .google.protobuf.Duration The number of seconds between keep-alive probes. This is rounded up to the second.