Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for TLSHandshakeStart (0.2 sec)

  1. src/net/http/httptrace/trace.go

    	// enabled, this may be called multiple times.
    	ConnectDone func(network, addr string, err error)
    
    	// TLSHandshakeStart is called when the TLS handshake is started. When
    	// connecting to an HTTPS site via an HTTP proxy, the handshake happens
    	// after the CONNECT request is processed by the proxy.
    	TLSHandshakeStart func()
    
    	// TLSHandshakeDone is called after the TLS handshake with either the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  2. api/go1.8.txt

    pkg net/http, const TrailerPrefix = "Trailer:"
    pkg net/http/httptrace, type ClientTrace struct, TLSHandshakeDone func(tls.ConnectionState, error)
    pkg net/http/httptrace, type ClientTrace struct, TLSHandshakeStart func()
    pkg net/http/httputil, type ReverseProxy struct, ModifyResponse func(*http.Response) error
    pkg net/http, method (*Server) Close() error
    pkg net/http, method (*Server) Shutdown(context.Context) error
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 21 05:25:57 UTC 2016
    - 16.3K bytes
    - Viewed (0)
  3. src/net/http/transport.go

    	if d := pconn.t.TLSHandshakeTimeout; d != 0 {
    		timer = time.AfterFunc(d, func() {
    			errc <- tlsHandshakeTimeoutError{}
    		})
    	}
    	go func() {
    		if trace != nil && trace.TLSHandshakeStart != nil {
    			trace.TLSHandshakeStart()
    		}
    		err := tlsConn.HandshakeContext(ctx)
    		if timer != nil {
    			timer.Stop()
    		}
    		errc <- err
    	}()
    	if err := <-errc; err != nil {
    		plainConn.Close()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 91K bytes
    - Viewed (0)
  4. src/net/http/transport_test.go

    		TLSClientConfig: &tls.Config{
    			ServerName: "dns-is-faked.golang",
    			RootCAs:    certpool,
    		},
    	}}
    
    	trace := &httptrace.ClientTrace{
    		TLSHandshakeStart: func() { logf("TLSHandshakeStart") },
    		TLSHandshakeDone: func(s tls.ConnectionState, err error) {
    			logf("TLSHandshakeDone: ConnectionState = %v \n err = %v", s, err)
    		},
    	}
    
    	req, _ := NewRequest("GET", ts.URL, nil)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 192.6K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"ClientTrace.GotConn", Field, 7},
    		{"ClientTrace.GotFirstResponseByte", Field, 7},
    		{"ClientTrace.PutIdleConn", Field, 7},
    		{"ClientTrace.TLSHandshakeDone", Field, 8},
    		{"ClientTrace.TLSHandshakeStart", Field, 8},
    		{"ClientTrace.Wait100Continue", Field, 7},
    		{"ClientTrace.WroteHeaderField", Field, 11},
    		{"ClientTrace.WroteHeaders", Field, 7},
    		{"ClientTrace.WroteRequest", Field, 7},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
Back to top