Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for readBufferSize (0.38 sec)

  1. internal/http/transports.go

    )
    
    // tlsClientSessionCacheSize is the cache size for client sessions.
    var tlsClientSessionCacheSize = 100
    
    const (
    	WriteBufferSize = 64 << 10 // WriteBufferSize 64KiB moving up from 4KiB default
    	ReadBufferSize  = 64 << 10 // ReadBufferSize 64KiB moving up from 4KiB default
    )
    
    // ConnSettings - contains connection settings.
    type ConnSettings struct {
    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

    		panic(err)
    	}
    
    	tr := &http.Transport{
    		Proxy:                 http.ProxyFromEnvironment,
    		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.
    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/grid/connection.go

    			return
    		}
    		toDial := strings.Replace(c.Remote, "http://", "ws://", 1)
    		toDial = strings.Replace(toDial, "https://", "wss://", 1)
    		toDial += RoutePath
    
    		dialer := ws.DefaultDialer
    		dialer.ReadBufferSize = readBufferSize
    		dialer.WriteBufferSize = writeBufferSize
    		dialer.Timeout = defaultDialTimeout
    		if c.dialer != nil {
    			dialer.NetDial = c.dialer.DialContext
    		}
    		if c.header == nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 15:51:52 UTC 2024
    - 44.8K bytes
    - Viewed (0)
  4. src/net/http/transport.go

    }
    
    func (t *Transport) writeBufferSize() int {
    	if t.WriteBufferSize > 0 {
    		return t.WriteBufferSize
    	}
    	return 4 << 10
    }
    
    func (t *Transport) readBufferSize() int {
    	if t.ReadBufferSize > 0 {
    		return t.ReadBufferSize
    	}
    	return 4 << 10
    }
    
    // Clone returns a deep copy of t's exported fields.
    func (t *Transport) Clone() *Transport {
    	t.nextProtoOnce.Do(t.onceSetNextProtoDefaults)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 91K bytes
    - Viewed (0)
  5. src/net/http/transport_test.go

    		ForceAttemptHTTP2:      true,
    		TLSNextProto: map[string]func(authority string, c *tls.Conn) RoundTripper{
    			"foo": func(authority string, c *tls.Conn) RoundTripper { panic("") },
    		},
    		ReadBufferSize:  1,
    		WriteBufferSize: 1,
    	}
    	tr2 := tr.Clone()
    	rv := reflect.ValueOf(tr2).Elem()
    	rt := rv.Type()
    	for i := 0; i < rt.NumField(); i++ {
    		sf := rt.Field(i)
    		if !token.IsExported(sf.Name) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 192.6K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"Transport.MaxResponseHeaderBytes", Field, 7},
    		{"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},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
  7. api/go1.13.txt

    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
    pkg net, type DNSError struct, IsNotFound bool
    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