Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for ForceAttemptHTTP2 (0.19 sec)

  1. internal/http/transports.go

    		ResponseHeaderTimeout: 15 * time.Minute, // Conservative timeout is the default (for MinIO internode)
    		TLSHandshakeTimeout:   10 * time.Second,
    		TLSClientConfig:       &tlsClientConfig,
    		ForceAttemptHTTP2:     s.EnableHTTP2,
    		// Go net/http automatically unzip if content-type is
    		// gzip disable this feature, as we are always interested
    		// in raw stream.
    		DisableCompression: true,
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 6K bytes
    - Viewed (0)
  2. src/net/http/transport.go

    	// ForceAttemptHTTP2 controls whether HTTP/2 is enabled when a non-zero
    	// Dial, DialTLS, or DialContext func or TLSClientConfig is provided.
    	// By default, use of any those fields conservatively disables HTTP/2.
    	// To use a custom dialer or TLS config and still attempt HTTP/2
    	// upgrades, set this to true.
    	ForceAttemptHTTP2 bool
    }
    
    func (t *Transport) writeBufferSize() int {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 91K bytes
    - Viewed (0)
  3. src/net/http/httptest/server.go

    	}
    	certpool := x509.NewCertPool()
    	certpool.AddCert(s.certificate)
    	s.client.Transport = &http.Transport{
    		TLSClientConfig: &tls.Config{
    			RootCAs: certpool,
    		},
    		ForceAttemptHTTP2: s.EnableHTTP2,
    	}
    	s.Listener = tls.NewListener(s.Listener, s.TLS)
    	s.URL = "https://" + s.Listener.Addr().String()
    	s.wrap()
    	s.goServe()
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 17:26:10 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  4. src/net/http/transport_test.go

    	testTransportAutoHTTP(t, &Transport{}, true)
    }
    
    func TestTransportAutomaticHTTP2_DialerAndTLSConfigSupportsHTTP2AndTLSConfig(t *testing.T) {
    	testTransportAutoHTTP(t, &Transport{
    		ForceAttemptHTTP2: true,
    		TLSClientConfig:   new(tls.Config),
    	}, true)
    }
    
    // golang.org/issue/14391: also check DefaultTransport
    func TestTransportAutomaticHTTP2_DefaultTransport(t *testing.T) {
    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

    		{"Transport.DialTLSContext", Field, 14},
    		{"Transport.DisableCompression", Field, 0},
    		{"Transport.DisableKeepAlives", Field, 0},
    		{"Transport.ExpectContinueTimeout", Field, 6},
    		{"Transport.ForceAttemptHTTP2", Field, 13},
    		{"Transport.GetProxyConnectHeader", Field, 16},
    		{"Transport.IdleConnTimeout", Field, 7},
    		{"Transport.MaxConnsPerHost", Field, 11},
    		{"Transport.MaxIdleConns", 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)
  6. api/go1.13.txt

    pkg net/http, type Server struct, BaseContext func(net.Listener) context.Context
    pkg net/http, type Server struct, ConnContext func(context.Context, net.Conn) context.Context
    pkg net/http, type Transport struct, ForceAttemptHTTP2 bool
    pkg net/http, type Transport struct, ReadBufferSize int
    pkg net/http, type Transport struct, WriteBufferSize int
    pkg net, method (*DNSConfigError) Unwrap() error
    pkg net, method (*OpError) Unwrap() error
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 08 18:44:16 UTC 2019
    - 452.6K bytes
    - Viewed (0)
Back to top