- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 625 for dial (0.06 sec)
-
src/net/http/httptrace/trace.go
DNSDone func(DNSDoneInfo) // ConnectStart is called when a new connection's Dial begins. // If net.Dialer.DualStack (IPv6 "Happy Eyeballs") support is // enabled, this may be called multiple times. ConnectStart func(network, addr string) // ConnectDone is called when a new connection's Dial // completes. The provided err indicates whether the // connection completed successfully.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 10 03:29:50 UTC 2024 - 8.1K bytes - Viewed (0) -
internal/event/target/redis.go
return nil, fmt.Errorf("unable to initialize the queue store of Redis `%s`: %w", id, err) } } pool := &redis.Pool{ MaxIdle: 3, IdleTimeout: 2 * 60 * time.Second, Dial: func() (redis.Conn, error) { conn, err := redis.Dial("tcp", args.Addr.String()) if err != nil { return nil, err } if args.Password != "" { if args.User != "" {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 9.1K bytes - Viewed (0) -
pilot/pkg/grpc/tls.go
if err != nil { return nil, err } certPool = x509.NewCertPool() ok := certPool.AppendCertsFromPEM(rootCert) if !ok { return nil, fmt.Errorf("failed to create TLS dial option with root certificates") } } else { certPool, err = x509.SystemCertPool() if err != nil { return nil, err } } return certPool, nil
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Mar 28 22:11:02 UTC 2024 - 2.9K bytes - Viewed (0) -
src/net/lookup_test.go
// The Plan 9 implementation of the resolver doesn't use the Dial function yet. See https://go.dev/cl/409234 t.Skip("skipping on plan9") } rDeadlineExcceeded := &Resolver{PreferGo: true, Dial: func(ctx context.Context, network, address string) (Conn, error) { return nil, context.DeadlineExceeded }} rCancelled := &Resolver{PreferGo: true, Dial: func(ctx context.Context, network, address string) (Conn, error) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 41.4K bytes - Viewed (0) -
src/net/packetconn_test.go
continue } c1, err := ListenPacket(tt.net, tt.addr1) if err != nil { t.Fatal(err) } defer closer(c1, tt.net, tt.addr1, tt.addr2) c1.LocalAddr() c2, err := Dial(tt.net, c1.LocalAddr().String()) if err != nil { t.Fatal(err) } defer c2.Close() c2.LocalAddr() c2.RemoteAddr() if _, err := c2.Write(wb); err != nil { t.Fatal(err) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 18 17:20:52 UTC 2023 - 3K bytes - Viewed (0) -
internal/event/target/amqp.go
} return ch, nil, nil } if !isAMQPClosedErr(err) { return nil, nil, err } // close when we know this is a network error. target.conn.Close() } conn, err = amqp091.Dial(target.args.URL.String()) if err != nil { if xnet.IsConnRefusedErr(err) { return nil, nil, store.ErrNotConnected } return nil, nil, err } ch, err = conn.Channel() if err != nil {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 10K bytes - Viewed (0) -
pkg/adsc/adsc.go
} if config.BackoffPolicy == nil { config.BackoffPolicy = backoff.NewExponentialBackOff(backoff.DefaultOption()) } return *config } // Dial connects to a ADS server, with optional MTLS authentication if a cert dir is specified. func (a *ADSC) Dial() error { conn, err := dialWithConfig(&a.cfg.Config) if err != nil { return err } a.conn = conn return nil }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Feb 05 22:18:49 UTC 2024 - 35K bytes - Viewed (0) -
pkg/log/uds.go
func teeToUDSServer(baseCore zapcore.Core, address, path string) zapcore.Core { c := http.Client{ Transport: &http.Transport{ DialContext: func(_ context.Context, _, _ string) (net.Conn, error) { return net.Dial("unix", address) }, }, Timeout: time.Second, } uc := &udsCore{ client: c, url: "http://unix" + path, enc: zapcore.NewJSONEncoder(defaultEncoderConfig),
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sat Mar 16 00:20:01 UTC 2024 - 3.4K bytes - Viewed (0) -
pkg/istio-agent/xds_proxy_test.go
FileMountedCerts: true, } proxyConfig := mesh.DefaultProxyConfig() proxyConfig.DiscoveryAddress = "buffcon" // While the actual test runs on plain text, these are setup to build the default dial options // with out these it looks for default cert location and fails. proxyConfig.ProxyMetadata = map[string]string{ MetadataClientCertChain: path.Join(env.IstioSrc, "tests/testdata/certs/pilot/cert-chain.pem"),
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sat Mar 30 04:48:02 UTC 2024 - 18.6K bytes - Viewed (0) -
pkg/test/echo/server/forwarder/util.go
out.Resolver = newResolver(common.ConnectionTimeout, "", "") } return out } func newResolver(timeout time.Duration, protocol, dnsServer string) *net.Resolver { return &net.Resolver{ PreferGo: true, Dial: func(ctx context.Context, network, address string) (net.Conn, error) { d := net.Dialer{ Timeout: timeout, } nt := protocol if nt == "" { nt = network } addr := dnsServer
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sun Oct 08 09:39:20 UTC 2023 - 4.4K bytes - Viewed (0)