Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 14 of 14 for http_inspector (0.4 sec)

  1. pilot/pkg/simulation/traffic.go

    		// Without tls inspector, Envoy would not read the ALPN in the TLS handshake
    		// HTTP inspector still may set it though
    		input.Alpn = ""
    	}
    
    	// Apply listener filters
    	if hasFilterOnPort(l, xdsfilters.HTTPInspector.Name, input.Port) {
    		if alpn := protocolToAlpn(input.Protocol); alpn != "" && input.TLS == Plaintext {
    			input.Alpn = alpn
    		}
    	}
    
    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_waypoint.go

    		ListenerFilters: []*listener.ListenerFilter{
    			xdsfilters.OriginalDestination,
    			// TODO: This may affect the data path due to the server-first protocols triggering a time-out. Need exception filter.
    			xdsfilters.HTTPInspector,
    		},
    		TrafficDirection: core.TrafficDirection_INBOUND,
    		FilterChains:     chains,
    		FilterChainMatcher: &matcher.Matcher{
    			MatcherType: &matcher.Matcher_MatcherTree_{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  3. pilot/pkg/networking/core/listener.go

    	if needTLSInspector || needHTTPInspector {
    		l.ListenerFilters = append(l.ListenerFilters, xdsfilters.TLSInspector)
    	}
    
    	if needHTTPInspector {
    		l.ListenerFilters = append(l.ListenerFilters, xdsfilters.HTTPInspector)
    		// Enable timeout only if they configure it and we have an HTTP inspector.
    		// This is really unsafe, so hopefully not used...
    		l.ListenerFiltersTimeout = builder.push.Mesh.ProtocolDetectionTimeout
    	} else {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 06 04:44:06 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  4. pilot/pkg/networking/core/listener_test.go

    	t.Helper()
    	if len(lfilters) != 2 {
    		t.Fatalf("expected %d listener filter, found %d", 2, len(lfilters))
    	}
    	if lfilters[0].Name != wellknown.TLSInspector ||
    		lfilters[1].Name != wellknown.HTTPInspector {
    		t.Fatalf("expected listener filters not found, got %v", lfilters)
    	}
    }
    
    func verifyHTTPFilterChainMatch(t *testing.T, fc *listener.FilterChain) {
    	t.Helper()
    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