listener: deprecate sni_domains. (#3948)

*Risk Level*: Low
*Testing*: bazel test //test/...
*Docs Changes*: Removed docs for "sni_domains"
*Release Notes*: n/a

Fixes #3718.

Signed-off-by: Piotr Sikora <piotrsikora@google.com>

Mirrored from https://github.com/envoyproxy/envoy @ 0621763bd00016f91e530412a9a307fca474ad69
pull/620/head
data-plane-api(CircleCI) 6 years ago
parent 4da7dc6516
commit 4da0cfaad5
  1. 16
      envoy/api/v2/listener/listener.proto

@ -148,20 +148,8 @@ message FilterChainMatch {
// unless all connecting clients are known to use ALPN. // unless all connecting clients are known to use ALPN.
repeated string application_protocols = 10; repeated string application_protocols = 10;
// If non-empty, a list of server names (e.g. SNI for TLS protocol) to consider when determining reserved 1;
// a filter chain match. Those values will be compared against the server names of a new reserved "sni_domains";
// connection, when detected by one of the listener filters.
//
// The server name will be matched against all wildcard domains, i.e. ``www.example.com``
// will be first matched against ``www.example.com``, then ``*.example.com``, then ``*.com``.
//
// Note that partial wildcards are not supported, and values like ``*w.example.com`` are invalid.
//
// .. attention::
//
// Deprecated. Use :ref:`server_names <envoy_api_field_listener.FilterChainMatch.server_names>`
// instead.
repeated string sni_domains = 1 [deprecated = true];
} }
// A filter chain wraps a set of match criteria, an option TLS context, a set of filters, and // A filter chain wraps a set of match criteria, an option TLS context, a set of filters, and

Loading…
Cancel
Save