Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for responseHeaderTimeout (0.45 sec)

  1. internal/http/transports.go

    		DialContext:           dialContext,
    		MaxIdleConnsPerHost:   maxIdleConnsPerHost,
    		WriteBufferSize:       WriteBufferSize,
    		ReadBufferSize:        ReadBufferSize,
    		IdleConnTimeout:       15 * time.Second,
    		ResponseHeaderTimeout: 15 * time.Minute, // Conservative timeout is the default (for MinIO internode)
    		TLSHandshakeTimeout:   10 * time.Second,
    		TLSClientConfig:       &tlsClientConfig,
    		ForceAttemptHTTP2:     s.EnableHTTP2,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 6K bytes
    - Viewed (0)
  2. internal/dsync/dsync-client_test.go

    		MaxIdleConnsPerHost:   1024,
    		WriteBufferSize:       32 << 10, // 32KiB moving up from 4KiB default
    		ReadBufferSize:        32 << 10, // 32KiB moving up from 4KiB default
    		IdleConnTimeout:       15 * time.Second,
    		ResponseHeaderTimeout: 15 * time.Minute, // Set conservative timeouts for MinIO internode.
    		TLSHandshakeTimeout:   15 * time.Second,
    		ExpectContinueTimeout: 15 * time.Second,
    		// Go net/http automatically unzip if content-type is
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jan 20 17:36:09 UTC 2022
    - 4.4K bytes
    - Viewed (0)
  3. internal/config/dns/operator_dns.go

    		Transport: &http.Transport{
    			Proxy: http.ProxyFromEnvironment,
    			DialContext: (&net.Dialer{
    				Timeout:   3 * time.Second,
    				KeepAlive: 5 * time.Second,
    			}).DialContext,
    			ResponseHeaderTimeout: 3 * time.Second,
    			TLSHandshakeTimeout:   3 * time.Second,
    			ExpectContinueTimeout: 3 * time.Second,
    			TLSClientConfig: &tls.Config{
    				RootCAs: args.rootCAs,
    			},
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Mar 06 16:56:10 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  4. src/cmd/pprof/pprof.go

    		tlsConfig = &tls.Config{
    			InsecureSkipVerify: true,
    		}
    		url.Scheme = "https"
    		source = url.String()
    	}
    
    	client := &http.Client{
    		Transport: &http.Transport{
    			ResponseHeaderTimeout: timeout + 5*time.Second,
    			Proxy:                 http.ProxyFromEnvironment,
    			TLSClientConfig:       tlsConfig,
    		},
    	}
    	resp, err := client.Get(source)
    	if err != nil {
    		return nil, err
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  5. src/net/http/transport.go

    	// itself.
    	// Zero means no limit.
    	IdleConnTimeout time.Duration
    
    	// ResponseHeaderTimeout, if non-zero, specifies the amount of
    	// time to wait for a server's response headers after fully
    	// writing the request (including its body, if any). This
    	// time does not include the time to read the response body.
    	ResponseHeaderTimeout time.Duration
    
    	// ExpectContinueTimeout, if non-zero, specifies the amount of
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 91K bytes
    - Viewed (0)
  6. src/net/http/transport_test.go

    			inHandler <- true
    			<-r.Context().Done()
    			srvWG.Done()
    		})
    		ts := newClientServerTest(t, mode, mux).ts
    
    		c := ts.Client()
    		c.Transport.(*Transport).ResponseHeaderTimeout = timeout
    
    		retry = false
    		srvWG.Add(3)
    		tests := []struct {
    			path        string
    			wantTimeout bool
    		}{
    			{path: "/fast"},
    			{path: "/slow", wantTimeout: true},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 192.6K bytes
    - Viewed (0)
  7. src/net/http/h2_bundle.go

    	}
    	if len(keys) > 0 {
    		sort.Strings(keys)
    		return strings.Join(keys, ","), nil
    	}
    	return "", nil
    }
    
    func (cc *http2ClientConn) responseHeaderTimeout() time.Duration {
    	if cc.t.t1 != nil {
    		return cc.t.t1.ResponseHeaderTimeout
    	}
    	// No way to do this (yet?) with just an http2.Transport. Probably
    	// no need. Request.Cancel this is the new way. We only need to support
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 364.1K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"Transport.OnProxyConnectResponse", Field, 20},
    		{"Transport.Proxy", Field, 0},
    		{"Transport.ProxyConnectHeader", Field, 8},
    		{"Transport.ReadBufferSize", Field, 13},
    		{"Transport.ResponseHeaderTimeout", Field, 1},
    		{"Transport.TLSClientConfig", Field, 0},
    		{"Transport.TLSHandshakeTimeout", Field, 3},
    		{"Transport.TLSNextProto", Field, 6},
    		{"Transport.WriteBufferSize", Field, 13},
    	},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
  9. api/go1.1.txt

    pkg net/http, type Request struct, PostForm url.Values
    pkg net/http, type Server struct, TLSNextProto map[string]func(*Server, *tls.Conn, Handler)
    pkg net/http, type Transport struct, ResponseHeaderTimeout time.Duration
    pkg net/http/cookiejar, func New(*Options) (*Jar, error)
    pkg net/http/cookiejar, method (*Jar) Cookies(*url.URL) []*http.Cookie
    pkg net/http/cookiejar, method (*Jar) SetCookies(*url.URL, []*http.Cookie)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 31 20:37:15 UTC 2022
    - 2.6M bytes
    - Viewed (0)
Back to top