Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ServerNames (0.09 sec)

  1. pilot/pkg/simulation/traffic.go

    			}
    		}
    		f, err := ranger.Contains(net.ParseIP(input.Address))
    		if err != nil {
    			sim.t.Fatalf("cidr containers %v failed: %v", input.Address, err)
    		}
    		return f
    	})
    	chains = filter("ServerNames", chains, func(fc *listener.FilterChainMatch) bool {
    		return fc.GetServerNames() == nil
    	}, func(fc *listener.FilterChainMatch) bool {
    		sni := host.Name(input.Sni)
    		for _, s := range fc.GetServerNames() {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  2. pilot/pkg/networking/core/listener_test.go

    		if fc.FilterChainMatch == nil {
    			t.Fatalf("expected filter chain match for chain %s to be set, found nil", fc.Name)
    		}
    		if len(fc.FilterChainMatch.ServerNames) == 0 {
    			t.Fatalf("expected SNI to be set, found %v", fc.FilterChainMatch.ServerNames)
    		}
    	}
    	log.Printf("Listeners: %v", listeners)
    }
    
    func TestOutboundListenerConfigWithSidecarHTTPProxy(t *testing.T) {
    	sidecarConfig := &config.Config{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 93.6K bytes
    - Viewed (0)
Back to top