Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for ServerNames (0.2 sec)

  1. pilot/pkg/networking/core/envoyfilter/listener_patch_test.go

    							PortValue: 80,
    						},
    					},
    				},
    			},
    			FilterChains: []*listener.FilterChain{
    				{
    					FilterChainMatch: &listener.FilterChainMatch{
    						ServerNames: []string{"match.com", "*.foo.com"},
    					},
    					Filters: []*listener.Filter{
    						{
    							Name: wellknown.HTTPConnectionManager,
    							ConfigType: &listener.Filter_TypedConfig{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 21 17:42:54 UTC 2024
    - 70.1K 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)
  3. pilot/pkg/networking/core/listener.go

    				break
    			}
    		}
    		if !fullWildcardFound {
    			chain.sniHosts = append([]string{}, chain.sniHosts...)
    			sort.Stable(sort.StringSlice(chain.sniHosts))
    			match.ServerNames = chain.sniHosts
    		}
    	}
    	if len(chain.destinationCIDRs) > 0 {
    		chain.destinationCIDRs = append([]string{}, chain.destinationCIDRs...)
    		sort.Stable(sort.StringSlice(chain.destinationCIDRs))
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 06 04:44:06 UTC 2024
    - 55.1K bytes
    - Viewed (0)
Back to top