- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 15 for handshakeContext (0.34 sec)
-
staging/src/k8s.io/apimachinery/pkg/util/proxy/dial.go
// tls.Handshake() requires ServerName or InsecureSkipVerify tlsConfig = &tls.Config{ InsecureSkipVerify: true, } } else if len(tlsConfig.ServerName) == 0 && !tlsConfig.InsecureSkipVerify { // tls.HandshakeContext() requires ServerName or InsecureSkipVerify // infer the ServerName from the hostname we're connecting to. inferredHost := dialAddr if host, _, err := net.SplitHostPort(dialAddr); err == nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 23 22:33:38 UTC 2023 - 3.8K bytes - Viewed (0) -
src/crypto/tls/handshake_server_test.go
} } // TestHandshakeContextHierarchy tests whether the contexts // available to GetClientCertificate and GetCertificate are // derived from the context provided to HandshakeContext, and // that those contexts are canceled after HandshakeContext has // returned. func TestHandshakeContextHierarchy(t *testing.T) { c, s := localPipe(t) clientErr := make(chan error, 1) clientConfig := testConfig.Clone()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 03 14:56:25 UTC 2024 - 64.7K bytes - Viewed (0) -
pkg/test/echo/server/forwarder/tls.go
if err := conn.SetWriteDeadline(deadline); err != nil { return msgBuilder.String(), err } if err := conn.SetReadDeadline(deadline); err != nil { return msgBuilder.String(), err } if err := conn.HandshakeContext(ctx); err != nil { return "", err } // Make sure the client writes something to the buffer message := "HelloWorld" if cfg.Request.Message != "" { message = cfg.Request.Message }
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/hbone/dialer.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 24 15:56:41 UTC 2023 - 5.1K bytes - Viewed (0) -
src/crypto/tls/conn.go
// // Most uses of this package need not call HandshakeContext explicitly: the // first [Conn.Read] or [Conn.Write] will call it automatically. func (c *Conn) HandshakeContext(ctx context.Context) error { // Delegate to unexported method for named return // without confusing documented signature. return c.handshakeContext(ctx) } func (c *Conn) handshakeContext(ctx context.Context) (ret error) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:10:12 UTC 2024 - 51.8K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/httpstream/spdy/roundtripper.go
case len(tlsConfig.ServerName) == 0: tlsConfig = tlsConfig.Clone() tlsConfig.ServerName = host } tlsConn := tls.Client(rwc, tlsConfig) if err := tlsConn.HandshakeContext(ctx); err != nil { tlsConn.Close() return nil, err } return tlsConn, nil } // dialWithoutProxy dials the host specified by url, using TLS if appropriate.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 23 22:33:38 UTC 2023 - 12.7K bytes - Viewed (0) -
src/crypto/tls/tls.go
if config.ServerName == "" { // Make a copy to avoid polluting argument or default. c := config.Clone() c.ServerName = hostname config = c } conn := Client(rawConn, config) if err := conn.HandshakeContext(ctx); err != nil { rawConn.Close() return nil, err } return conn, nil } // Dial connects to the given network address using net.Dial
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 17:57:01 UTC 2024 - 12.2K bytes - Viewed (0) -
src/crypto/tls/quic.go
} q.conn.quic.started = true if q.conn.config.MinVersion < VersionTLS13 { return quicError(errors.New("tls: Config MinVersion must be at least TLS 1.13")) } go q.conn.HandshakeContext(ctx) if _, ok := <-q.conn.quic.blockedc; !ok { return q.conn.handshakeErr } return nil } // NextEvent returns the next event occurring on the connection.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 17:23:54 UTC 2024 - 15.1K bytes - Viewed (0) -
api/go1.17.txt
pkg compress/lzw, type Writer struct pkg crypto/tls, method (*CertificateRequestInfo) Context() context.Context pkg crypto/tls, method (*ClientHelloInfo) Context() context.Context pkg crypto/tls, method (*Conn) HandshakeContext(context.Context) error pkg database/sql, method (*NullByte) Scan(interface{}) error pkg database/sql, method (*NullInt16) Scan(interface{}) error pkg database/sql, method (NullByte) Value() (driver.Value, error)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 17 20:31:46 UTC 2023 - 18K bytes - Viewed (0) -
src/crypto/tls/common.go
// ctx is the context of the handshake that is in progress. ctx context.Context } // Context returns the context of the handshake that is in progress. // This context is a child of the context passed to HandshakeContext, // if any, and is canceled when the handshake concludes. func (c *ClientHelloInfo) Context() context.Context { return c.ctx } // CertificateRequestInfo contains information from a server's
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:10:12 UTC 2024 - 59.1K bytes - Viewed (0)