- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for Dialer (0.14 sec)
-
src/crypto/tls/tls.go
return DialWithDialer(new(net.Dialer), network, addr, config) } // Dialer dials TLS connections given a configuration and a Dialer for the // underlying connection. type Dialer struct { // NetDialer is the optional dialer to use for the TLS connections' // underlying TCP connections. // A nil NetDialer is equivalent to the net.Dialer zero value. NetDialer *net.Dialer
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 17:57:01 UTC 2024 - 12.2K bytes - Viewed (0) -
internal/grid/connection.go
toDial = strings.Replace(toDial, "https://", "wss://", 1) toDial += RoutePath dialer := ws.DefaultDialer dialer.ReadBufferSize = readBufferSize dialer.WriteBufferSize = writeBufferSize dialer.Timeout = defaultDialTimeout if c.dialer != nil { dialer.NetDial = c.dialer.DialContext } if c.header == nil { c.header = make(http.Header, 2) }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri Jun 07 15:51:52 UTC 2024 - 44.8K bytes - Viewed (0) -
internal/grid/manager.go
local string // Validate incoming requests. authRequest func(r *http.Request) error } // ManagerOptions are options for creating a new grid manager. type ManagerOptions struct { Dialer ContextDialer // Outgoing dialer. Local string // Local host name. Hosts []string // All hosts, including local in the grid.
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 17:40:33 UTC 2024 - 9.8K bytes - Viewed (0) -
pkg/controlplane/apiserver/config.go
config.ServiceAccountJWKSURI = opts.Authentication.ServiceAccounts.JWKSURI config.ServiceAccountPublicKeys = pubKeys return config, genericInitializers, nil } // CreateProxyTransport creates the dialer infrastructure to connect to the nodes. func CreateProxyTransport() *http.Transport { var proxyDialerFn utilnet.DialFunc // Proxying to pods and services is IP-based... don't expect to be able to verify the hostname
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 07 17:57:37 UTC 2024 - 14.9K bytes - Viewed (0) -
cmd/object-api-utils.go
func getHostFromSrv(records []dns.SrvRecord) (host string) { hosts := getHostsSlice(records) rng := rand.New(rand.NewSource(time.Now().UTC().UnixNano())) var d net.Dialer var retry int for retry < len(hosts) { ctx, cancel := context.WithTimeout(GlobalContext, 300*time.Millisecond) host = hosts[rng.Intn(len(hosts))] conn, err := d.DialContext(ctx, "tcp", host) cancel()
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue Jun 11 03:13:30 UTC 2024 - 36.3K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheUnsupportedTypesIntegrationTest.groovy
) withProblemsWithStackTraceCount(0) } and: outputContains("this.reference = JavaRecord[value=null, filler=101]") outputContains("bean.reference = JavaRecord[value=null, filler=202]") when: configurationCacheRunLenient "broken" then: problems.assertResultHasProblems(result) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 28.3K bytes - Viewed (0) -
pilot/test/xds/fake.go
type FakeDiscoveryServer struct { *core.ConfigGenTest t test.Failer Discovery *xds.DiscoveryServer Listener net.Listener BufListener *bufconn.Listener kubeClient kubelib.Client KubeRegistry *kube.FakeController XdsUpdater model.XDSUpdater MemRegistry *memregistry.ServiceDiscovery } func NewFakeDiscoveryServer(t test.Failer, opts FakeOptions) *FakeDiscoveryServer { m := opts.MeshConfig
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jun 10 16:08:52 UTC 2024 - 18.4K bytes - Viewed (0) -
cmd/storage-rest-server.go
// concurrently, check for it before we // write the filler byte. select { case err := <-doneCh: if err != nil { write([]byte{1}) write([]byte(err.Error())) } else { write([]byte{0}) } return default: } // Response not ready, write a filler byte. write([]byte{32}) if canWrite { w.(http.Flusher).Flush()
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 15:51:27 UTC 2024 - 44.8K bytes - Viewed (0) -
pilot/pkg/networking/core/listener_builder_test.go
} } } func TestSidecarInboundListenerFilters(t *testing.T) { services := []*model.Service{buildServiceWithPort("test.com", 80, protocol.HTTPS, tnow)} expectIstioMTLS := func(t test.Failer, filterChain *listener.FilterChain) { tlsContext := &tls.DownstreamTlsContext{} if err := filterChain.GetTransportSocket().GetTypedConfig().UnmarshalTo(tlsContext); err != nil { t.Fatal(err) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 01:56:28 UTC 2024 - 24.7K bytes - Viewed (0) -
pilot/pkg/simulation/traffic.go
// if we pass the test. This is to ensure that if the behavior changes, we still capture it; the skip // just ensures we notice a test is wrong Skip string t test.Failer } func (r Result) Matches(t *testing.T, want Result) { t.Helper() r.StrictMatch = want.StrictMatch // to make diff pass r.Skip = want.Skip // to make diff pass
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 01:56:28 UTC 2024 - 19.4K bytes - Viewed (0)