- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for idletimeout (0.28 sec)
-
pilot/pkg/networking/core/cluster_builder_test.go
Tcp: &networking.ConnectionPoolSettings_TCPSettings{ IdleTimeout: &durationpb.Duration{ Seconds: 10, }, }, Http: &networking.ConnectionPoolSettings_HTTPSettings{ IdleTimeout: nil, }, }, expectedHTTPPOpt: &http.HttpProtocolOptions{ CommonHttpProtocolOptions: &core.HttpProtocolOptions{ IdleTimeout: &durationpb.Duration{ Seconds: 10, },
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 01:56:28 UTC 2024 - 110.4K bytes - Viewed (0) -
src/net/http/server.go
s.activeConn = make(map[*conn]struct{}) } if add { s.activeConn[c] = struct{}{} } else { delete(s.activeConn, c) } } func (s *Server) idleTimeout() time.Duration { if s.IdleTimeout != 0 { return s.IdleTimeout } return s.ReadTimeout } func (s *Server) readHeaderTimeout() time.Duration { if s.ReadHeaderTimeout != 0 { return s.ReadHeaderTimeout }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 17:57:01 UTC 2024 - 123.4K bytes - Viewed (0) -
pilot/pkg/networking/core/cluster_test.go
} } // Verify that the values were set correctly. g.Expect(httpProtocolOptions.CommonHttpProtocolOptions.IdleTimeout).To(Not(BeNil())) g.Expect(httpProtocolOptions.CommonHttpProtocolOptions.IdleTimeout).To(Equal(durationpb.New(time.Duration(15000000000)))) }) } } // clusterTest defines a structure containing all information needed to build a cluster for tests
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 01:56:28 UTC 2024 - 108.8K bytes - Viewed (0) -
tests/integration/pilot/common/routing.go
func destinationRuleCases(t TrafficContext) { from := t.Apps.A to := t.Apps.C // Validates the config is generated correctly when only idletimeout is specified in DR. t.RunTraffic(TrafficTestCase{ name: "only idletimeout specified in DR", config: idletimeoutDestinationRule("idletimeout-dr", to.Config().Service), call: from[0].CallOrFail, opts: echo.CallOptions{ To: to, Port: echo.Port{
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 08 21:52:51 UTC 2024 - 135.9K bytes - Viewed (0) -
operator/cmd/mesh/testdata/manifest-generate/data-snapshot.tar.gz
description: Maximum number of requests that will be queued while waiting for a ready connection pool connection. format: int32 type: integer http2MaxRequests: description: Maximum number of active requests to a destination. format: int32 type: integer idleTimeout: description: The idle timeout for upstream connection pool connections. type: string maxConcurrentStreams: format: int32 type: integer maxRequestsPerConnec: description: Maximum number of requests per connection to a backend. format: int32 type:...
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jan 10 05:10:03 UTC 2024 - 198.1K bytes - Viewed (0) -
src/net/http/serve_test.go
}), func(ts *httptest.Server) { ts.Config.ReadHeaderTimeout = readHeaderTimeout ts.Config.IdleTimeout = 2 * readHeaderTimeout }) defer cst.close() ts := cst.ts t.Logf("ReadHeaderTimeout = %v", ts.Config.ReadHeaderTimeout) t.Logf("IdleTimeout = %v", ts.Config.IdleTimeout) c := ts.Client() get := func() (string, error) { res, err := c.Get(ts.URL) if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 17:57:01 UTC 2024 - 202K bytes - Viewed (0) -
pkg/config/validation/validation_test.go
}, Http: &networking.ConnectionPoolSettings_HTTPSettings{ Http1MaxPendingRequests: 2, Http2MaxRequests: 11, MaxRequestsPerConnection: 5, MaxRetries: 4, IdleTimeout: &durationpb.Duration{Seconds: 30}, MaxConcurrentStreams: 5, }, }, valid: true, }, {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 30 03:11:45 UTC 2024 - 196K bytes - Viewed (0) -
pkg/config/validation/validation.go
} if httpSettings.MaxRetries < 0 { errs = appendErrors(errs, fmt.Errorf("max retries must be non-negative")) } if httpSettings.IdleTimeout != nil { errs = appendErrors(errs, agent.ValidateDuration(httpSettings.IdleTimeout)) } if httpSettings.H2UpgradePolicy == networking.ConnectionPoolSettings_HTTPSettings_UPGRADE && httpSettings.UseClientProtocol {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 12 04:03:33 UTC 2024 - 107.2K bytes - Viewed (0)