- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for setUseDownstreamProtocol (0.21 sec)
-
pilot/pkg/networking/core/cluster_builder.go
}, }, } } } type mtlsContextType int const ( userSupplied mtlsContextType = iota autoDetected ) func (cb *ClusterBuilder) setUseDownstreamProtocol(mc *clusterWrapper) { if mc.httpProtocolOptions == nil { mc.httpProtocolOptions = &http.HttpProtocolOptions{} } options := mc.httpProtocolOptions
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 01:56:28 UTC 2024 - 31.6K bytes - Viewed (0) -
pilot/pkg/networking/core/cluster_traffic_policy.go
// Use downstream protocol. If the incoming traffic use HTTP 1.1, the // upstream cluster will use HTTP 1.1, if incoming traffic use HTTP2, // the upstream cluster will use HTTP2. cb.setUseDownstreamProtocol(mc) } } // applyH2Upgrade function will upgrade cluster to http2 if specified by configuration. // applyH2Upgrade can only be called for outbound cluster
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 23 05:38:57 UTC 2024 - 20K bytes - Viewed (0) -
pilot/pkg/networking/core/cluster_builder_test.go
func newDownstreamTestCluster() *clusterWrapper { cb := NewClusterBuilder(newSidecarProxy(), nil, model.DisabledCache{}) mc := newClusterWrapper(&cluster.Cluster{ Name: "test-cluster", }) cb.setUseDownstreamProtocol(mc) return mc } func newSidecarProxy() *model.Proxy { return &model.Proxy{Type: model.SidecarProxy, Metadata: &model.NodeMetadata{}} } func newGatewayProxy() *model.Proxy {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 01:56:28 UTC 2024 - 110.4K bytes - Viewed (0)