- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for TLSDialWithDialer (0.33 sec)
-
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)