- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for setH2Options (0.14 sec)
-
pilot/pkg/networking/core/cluster_builder.go
} cb.applyConnectionPool(cb.req.Push.Mesh, newClusterWrapper(cluster), &networking.ConnectionPoolSettings{}) cb.applyMetadataExchange(cluster) return cluster } // setH2Options make the cluster an h2 cluster by setting http2ProtocolOptions. func setH2Options(mc *clusterWrapper) { if mc == nil { return } if mc.httpProtocolOptions == nil { mc.httpProtocolOptions = &http.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
mesh *meshconfig.MeshConfig, connectionPool *networking.ConnectionPoolSettings, ) { if shouldH2Upgrade(mc.cluster.Name, port, mesh, connectionPool) { setH2Options(mc) } } // shouldH2Upgrade function returns true if the cluster should be upgraded to http2. // shouldH2Upgrade 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_tls_test.go
opts := &buildClusterOpts{ mutable: newClusterWrapper(&cluster.Cluster{ ClusterDiscoveryType: &cluster.Cluster_Type{Type: test.discoveryType}, }), mesh: push.Mesh, } if test.h2 { setH2Options(opts.mutable) } cb.applyUpstreamTLSSettings(opts, test.tls, test.mtlsCtx) if test.expectTransportSocket && opts.mutable.cluster.TransportSocket == nil ||
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon May 06 03:53:05 UTC 2024 - 60.9K bytes - Viewed (0) -
pilot/pkg/networking/core/cluster_builder_test.go
ec := newClusterWrapper(tt.cluster) // Set cluster wrapping with HTTP2 options if port protocol is HTTP2 if tt.port.Protocol == protocol.HTTP2 { setH2Options(ec) } destRule := proxy.SidecarScope.DestinationRule(model.TrafficDirectionOutbound, proxy, tt.service.Hostname) eb := endpoints.NewCDSEndpointBuilder(proxy, cb.req.Push, tt.cluster.Name,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 01:56:28 UTC 2024 - 110.4K bytes - Viewed (0)