- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for MaxConcurrentStreams (0.31 sec)
-
pilot/pkg/networking/core/cluster_traffic_policy.go
} // Check if cluster is HTTP2 http2ProtocolOptions := options.GetExplicitHttpConfig().GetHttp2ProtocolOptions() if http2ProtocolOptions != nil && maxConcurrentStreams > 0 { http2ProtocolOptions.MaxConcurrentStreams = &wrapperspb.UInt32Value{Value: maxConcurrentStreams} } } if settings.Http != nil && settings.Http.UseClientProtocol { // Use downstream protocol. If the incoming traffic use HTTP 1.1, the
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 23 05:38:57 UTC 2024 - 20K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/secure_serving.go
http2Options.MaxConcurrentStreams = uint32(s.HTTP2MaxStreamsPerConnection) } else { // match http2.initialMaxConcurrentStreams used by clients // this makes it so that a malicious client can only open 400 streams before we forcibly close the connection // https://github.com/golang/net/commit/b225e7ca6dde1ef5a5ae5ce922861bda011cfabd http2Options.MaxConcurrentStreams = 100 }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Oct 12 20:54:07 UTC 2023 - 10.3K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/connection/ConnectionPoolTest.kt
} private fun connectHttp2( peer: MockHttp2Peer, realConnection: RealConnection, maxConcurrentStreams: Int, ): Http2Connection { // Write the mocking script. val settings1 = Settings() settings1[Settings.MAX_CONCURRENT_STREAMS] = maxConcurrentStreams peer.sendFrame().settings(settings1) peer.acceptFrame() // ACK peer.sendFrame().ping(false, 2, 0)
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Wed Apr 24 04:40:49 UTC 2024 - 12.7K bytes - Viewed (0) -
pilot/pkg/bootstrap/server.go
// it on the HTTP port. Does not impact the HTTPS gRPC or HTTPS. log.Infof("multiplexing gRPC on http addr %v", args.ServerOptions.HTTPAddr) multiplexGRPC = true } h2s := &http2.Server{ MaxConcurrentStreams: uint32(features.MaxConcurrentStreams), } multiplexHandler := h2c.NewHandler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { // If we detect gRPC, serve using grpcServer
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 17:48:28 UTC 2024 - 46.3K bytes - Viewed (0) -
pilot/pkg/networking/core/listener_waypoint.go
AllowConnect: true, // TODO(https://github.com/istio/istio/issues/43443) // All streams are bound to the same worker. Therefore, we need to limit for better fairness. MaxConcurrentStreams: &wrappers.UInt32Value{Value: 100}, // well behaved clients should close connections. // not all clients are well-behaved. This will prune // connections when the client is not responding, to keep
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jun 14 04:34:37 UTC 2024 - 27.6K bytes - Viewed (0)