- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for CheckDuplicates (0.72 sec)
-
pilot/pkg/model/gateway.go
} // do not add hosts, that have already been added sniHosts.Insert(h) } return sets.SortedList(sniHosts) } // CheckDuplicates returns all of the hosts provided that are already known // If there were no duplicates, all hosts are added to the known hosts. func CheckDuplicates(hosts []string, bind string, knownHosts map[string]string) []string { var duplicates []string for _, h := range hosts {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jun 14 04:34:37 UTC 2024 - 26K bytes - Viewed (0) -
pilot/pkg/networking/core/gateway.go
// SNI filter chain matches if tlsHostsByPort[listenerPort] == nil { tlsHostsByPort[listenerPort] = make(map[string]string) } if duplicateSniHosts := model.CheckDuplicates(match.SniHosts, server.Bind, tlsHostsByPort[listenerPort]); len(duplicateSniHosts) != 0 { log.Warnf( "skipping VirtualService %s rule #%v on server port %d of gateway %s, duplicate SNI host names: %v",
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon May 06 04:44:06 UTC 2024 - 46.4K bytes - Viewed (0)