- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for TLSDialWithDialer (0.15 sec)
-
pkg/hbone/dialer.go
wg.Wait() log.Infof("stream closed in %v", time.Since(t0)) }() return nil } // TLSDialWithDialer is an implementation of tls.DialWithDialer that accepts a generic Dialer func TLSDialWithDialer(dialer Dialer, network, addr string, config *tls.Config) (*tls.Conn, error) { return tlsDial(context.Background(), dialer, network, addr, config) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 24 15:56:41 UTC 2023 - 5.1K bytes - Viewed (0) -
pkg/test/echo/server/forwarder/tls.go
} } func (c *tlsProtocol) Close() error { return nil } func newTLSConnection(cfg *Config) (*tls.Conn, error) { address := cfg.Request.Url[len(cfg.scheme+"://"):] con, err := hbone.TLSDialWithDialer(newDialer(cfg), "tcp", address, cfg.tlsConfig) if err != nil { return nil, err } return con, nil
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jul 11 16:27:16 UTC 2022 - 3.4K bytes - Viewed (0) -
pkg/test/echo/server/forwarder/tcp.go
func (c *tcpProtocol) Close() error { return nil } func newTCPConnection(cfg *Config) (net.Conn, error) { address := cfg.Request.Url[len(cfg.scheme+"://"):] if cfg.secure { return hbone.TLSDialWithDialer(newDialer(cfg), "tcp", address, cfg.tlsConfig) } ctx, cancel := context.WithTimeout(context.Background(), common.ConnectionTimeout) defer cancel() return newDialer(cfg).DialContext(ctx, "tcp", address)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jul 20 19:13:32 UTC 2023 - 4.9K bytes - Viewed (0) -
pkg/test/echo/server/forwarder/http.go
if cfg.scheme == scheme.HTTPS { return &http2.Transport{ TLSClientConfig: cfg.tlsConfig, DialTLS: func(network, addr string, tlsConfig *tls.Config) (net.Conn, error) { return hbone.TLSDialWithDialer(newDialer(cfg), network, addr, tlsConfig) }, } } return &http2.Transport{ // Golang doesn't have first class support for h2c, so we provide some workarounds
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 30 13:56:46 UTC 2024 - 7.9K bytes - Viewed (0)