Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for DialTLS (0.12 sec)

  1. src/net/http/roundtrip_js.go

    	// If they aren't set then the documented contract is to use Dial or DialTLS, even
    	// though they are deprecated. Therefore, if any of these are set, we should obey
    	// the contract and dial using the regular round-trip instead. Otherwise, we'll try
    	// to fall back on the Fetch API, unless it's not available.
    	if t.Dial != nil || t.DialContext != nil || t.DialTLS != nil || t.DialTLSContext != nil || jsFetchMissing || jsFetchDisabled {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  2. api/go1.4.txt

    pkg net/http, method (*Request) BasicAuth() (string, string, bool)
    
    # CL 137940043 net/http: add Transport.DialTLS hook, Brad Fitzpatrick <******@****.***>
    pkg net/http, type Transport struct, DialTLS func(string, string) (net.Conn, error)
    
    # CL 132750043 net/http/httputil: Pass a Logger to ReverseProxy, allowing the user to control logging., Mark Theunissen <******@****.***>
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 12 03:01:01 UTC 2014
    - 34K bytes
    - Viewed (0)
  3. src/net/http/clientserver_test.go

    	}))
    	defer cst.close()
    
    	var numOpen, numClose int32 // atomic
    
    	tlsConfig := &tls.Config{InsecureSkipVerify: true}
    	tr := &Transport{
    		TLSClientConfig: tlsConfig,
    		DialTLS: func(_, addr string) (net.Conn, error) {
    			time.Sleep(10 * time.Millisecond)
    			rc, err := net.Dial("tcp", addr)
    			if err != nil {
    				return nil, err
    			}
    			atomic.AddInt32(&numOpen, 1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 46.6K bytes
    - Viewed (0)
Back to top