envoyproxy / envoyproxy/gateway

Socket options SO_SNDBUF and SO_RCVBUF support

Open
#2,670 12 comments 0 reactions 1 assignee Claimed by @aoledk View on GitHub
kind/enhancement stale
Dominant language
Go
Stars
3k
Forks
864
Avg merge
2d 2h
Merged PRs (30d)
140

Description

*Description*:

Envoy will handle massive connections when used as L4 proxy. Setting the `SO_SNDBUF` and `SO_RCVBUF` socket options helps to limit the memory usage on each connection. So it would be nice to have these options in the APIs.

[optional *Relevant Links*:]

For downstream, Envoy has a `socket_options` in the listener config, https://www.envoyproxy.io/docs/envoy/v1.29.0/api-v3/config/listener/v3/listener.proto#config-listener-v3-listener

For upstream, Envoy has a `socket_options ` in the `upstream_bind_config` field of the cluster config, https://www.envoyproxy.io/docs/envoy/v1.29.0/api-v3/config/cluster/v3/cluster.proto#config-cluster-v3-cluster

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.