api: add socket_options for multiple addresses (#23415)
Since the ipv4 and ipv6 have different socket option flags, when using multiple addresses, the user has to specify different socket options for the ipv4 address and the ipv6 address. For the listener, the additional address can be the Ipv6 address, then it should be able to set an Ipv6 flag corresponding to the ipv4 one. Add socket_option field for each additional address. For the upstream, the endpoint can be ipv4 or ipv6, currently, the user can specify the ipv4 and ipv6 local bind address in the bind config, but there is only a global socket_options that apply to both the ipv4 and ipv6 addresses. Add socket_options for each extra source address. https://envoyproxy.slack.com/archives/C78HA81DH/p1664228598624269 Risk Level: low Testing: n/a Docs Changes: API doc Release Notes: n/a Platform Specific Features: n/a Signed-off-by: He Jie Xu <hejie.xu@intel.com> Mirrored from https://github.com/envoyproxy/envoy @ 601cf012144a6d212879b315efa51e9cdf177878pull/626/head
parent
8dfc730258
commit
0c85a1958d
3 changed files with 25 additions and 0 deletions
Loading…
Reference in new issue