Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for HttpProtocolOptions (0.34 sec)

  1. pilot/pkg/networking/core/cluster_builder_test.go

    		cluster             *cluster.Cluster
    		httpProtocolOptions *http.HttpProtocolOptions
    		connectionPool      *networking.ConnectionPoolSettings
    		expectedHTTPPOpt    *http.HttpProtocolOptions
    	}{
    		{
    			name:    "only update IdleTimeout",
    			cluster: &cluster.Cluster{Name: "foo", ClusterDiscoveryType: &cluster.Cluster_Type{Type: cluster.Cluster_EDS}},
    			httpProtocolOptions: &http.HttpProtocolOptions{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 110.4K bytes
    - Viewed (0)
  2. pilot/pkg/networking/core/cluster_builder.go

    	if mc.httpProtocolOptions == nil {
    		mc.httpProtocolOptions = &http.HttpProtocolOptions{}
    	}
    	options := mc.httpProtocolOptions
    	options.UpstreamProtocolOptions = &http.HttpProtocolOptions_UseDownstreamProtocolConfig{
    		UseDownstreamProtocolConfig: &http.HttpProtocolOptions_UseDownstreamHttpConfig{
    			HttpProtocolOptions:  &core.Http1ProtocolOptions{},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 31.6K bytes
    - Viewed (0)
  3. pilot/pkg/networking/core/cluster_test.go

    			httpProtocolOptions := &http.HttpProtocolOptions{}
    			if anyOptions != nil {
    				anyOptions.UnmarshalTo(httpProtocolOptions)
    			}
    
    			if tc.useDownStreamProtocol && tc.proxyType == model.SidecarProxy {
    				if httpProtocolOptions.GetUseDownstreamProtocolConfig() == nil {
    					t.Errorf("Expected cluster to use downstream protocol but got %v", httpProtocolOptions)
    				}
    			} else {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 108.8K bytes
    - Viewed (0)
  4. pilot/pkg/networking/core/listener_waypoint.go

    	if cc.port.Protocol.IsHTTP2() {
    		httpOpts.connectionManager.Http2ProtocolOptions = &core.Http2ProtocolOptions{}
    	}
    
    	if features.HTTP10 || enableHTTP10(lb.node.Metadata.HTTP10) {
    		httpOpts.connectionManager.HttpProtocolOptions = &core.Http1ProtocolOptions{
    			AcceptHttp_10: true,
    		}
    	}
    	h := lb.buildHTTPConnectionManager(httpOpts)
    
    	// Last filter must be router.
    	router := h.HttpFilters[len(h.HttpFilters)-1]
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  5. pilot/pkg/networking/core/listener_inbound.go

    	if cc.port.Protocol.IsHTTP2() {
    		httpOpts.connectionManager.Http2ProtocolOptions = &core.Http2ProtocolOptions{}
    	}
    
    	if features.HTTP10 || enableHTTP10(lb.node.Metadata.HTTP10) {
    		httpOpts.connectionManager.HttpProtocolOptions = &core.Http1ProtocolOptions{
    			AcceptHttp_10: true,
    		}
    	}
    
    	return httpOpts
    }
    
    // buildInboundNetworkFiltersForHTTP builds the network filters that should be inserted before an HCM.
    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