Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for GetApplicationProtocols (0.16 sec)

  1. pilot/pkg/networking/core/listenertest/match.go

    	Unknown     FilterChainType = "unknown"
    )
    
    func classifyFilterChain(have *listener.FilterChain) FilterChainType {
    	fcm := have.GetFilterChainMatch()
    	alpn := sets.New(fcm.GetApplicationProtocols()...)
    	switch fcm.GetTransportProtocol() {
    	case xdsfilters.TLSTransportProtocol:
    		if alpn.Contains("istio-http/1.1") {
    			return MTLSHTTP
    		}
    		if alpn.Contains("istio") {
    			return MTLSTCP
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  2. pilot/pkg/simulation/traffic.go

    		}
    		return false
    	})
    	chains = filter("ApplicationProtocols", chains, func(fc *listener.FilterChainMatch) bool {
    		return fc.GetApplicationProtocols() == nil
    	}, func(fc *listener.FilterChainMatch) bool {
    		return sets.New(fc.GetApplicationProtocols()...).Contains(input.Alpn)
    	})
    	// We do not implement the "source" based filters as we do not use them
    	if len(chains) > 1 {
    		for _, c := range chains {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  3. pilot/pkg/networking/core/listener_inbound.go

    		needsTLS := fc.GetFilterChainMatch().GetTransportProtocol() == xdsfilters.TLSTransportProtocol
    		needHTTP := false
    		for _, ap := range fc.GetFilterChainMatch().GetApplicationProtocols() {
    			// Check for HTTP protocol - these require HTTP inspector
    			if ap == "http/1.1" || ap == "h2c" {
    				needHTTP = true
    				break
    			}
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 35.1K bytes
    - Viewed (0)
Back to top