Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for useClientProtocol (0.49 sec)

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

    				TrafficPolicy: &networking.TrafficPolicy{
    					ConnectionPool: &networking.ConnectionPoolSettings{
    						Http: &networking.ConnectionPoolSettings_HTTPSettings{
    							MaxRetries:        10,
    							UseClientProtocol: true,
    						},
    					},
    				},
    			},
    			expectedSubsetClusters: []*cluster.Cluster{},
    		},
    		{
    			name:        "destination rule with maxRequestsPerConnection",
    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. operator/cmd/mesh/testdata/manifest-generate/data-snapshot.tar.gz

    description: Maximum number of requests per connection to a backend. format: int32 type: integer maxRetries: description: Maximum number of retries that can be outstanding to all hosts in a cluster at a given time. format: int32 type: integer useClientProtocol: description: If set to true, client protocol will be preserved while initiating connection to backend. type: boolean type: object tcp: description: Settings common to both HTTP and TCP upstream connections. properties: connectTimeout: description:...
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 10 05:10:03 UTC 2024
    - 198.1K bytes
    - Viewed (0)
  3. pkg/config/validation/validation.go

    			errs = appendErrors(errs, agent.ValidateDuration(httpSettings.IdleTimeout))
    		}
    		if httpSettings.H2UpgradePolicy == networking.ConnectionPoolSettings_HTTPSettings_UPGRADE && httpSettings.UseClientProtocol {
    			errs = appendErrors(errs, fmt.Errorf("use client protocol must not be true when H2UpgradePolicy is UPGRADE"))
    		}
    		if httpSettings.MaxConcurrentStreams < 0 {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 04:03:33 UTC 2024
    - 107.2K bytes
    - Viewed (0)
  4. tests/integration/pilot/common/routing.go

    kind: DestinationRule
    metadata:
      name: use-client-protocol
    spec:
      host: {{.VirtualServiceHost}}
      trafficPolicy:
        tls:
          mode: DISABLE
        connectionPool:
          http:
            useClientProtocol: true
    ---
    `
    
    func useClientProtocolDestinationRule(app string) string {
    	return tmpl.MustEvaluate(useClientProtocolDestinationRuleTmpl, map[string]string{"VirtualServiceHost": app})
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 21:52:51 UTC 2024
    - 135.9K bytes
    - Viewed (0)
  5. pkg/config/validation/validation_test.go

    				ConnectionPool: &networking.ConnectionPoolSettings{
    					Http: &networking.ConnectionPoolSettings_HTTPSettings{
    						H2UpgradePolicy:   networking.ConnectionPoolSettings_HTTPSettings_UPGRADE,
    						UseClientProtocol: true,
    					},
    				},
    			},
    			valid: false,
    		},
    	}
    	for _, c := range cases {
    		if got := validateTrafficPolicy(c.in).Err; (got == nil) != c.valid {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 03:11:45 UTC 2024
    - 196K bytes
    - Viewed (0)
Back to top