Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for disableCompression (0.39 sec)

  1. internal/http/transports.go

    	// 		// if a response to Ping is not received.
    	// 		trhttp2.PingTimeout = dialTimeout
    	// 		// DisableCompression, if true, prevents the Transport from
    	// 		// requesting compression with an "Accept-Encoding: gzip"
    	// 		trhttp2.DisableCompression = true
    	// 	}
    	// }
    
    	return tr
    }
    
    // NewInternodeHTTPTransport returns transport for internode MinIO connections.
    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/doc.go

    For control over proxies, TLS configuration, keep-alives,
    compression, and other settings, create a [Transport]:
    
    	tr := &http.Transport{
    		MaxIdleConns:       10,
    		IdleConnTimeout:    30 * time.Second,
    		DisableCompression: true,
    	}
    	client := &http.Client{Transport: tr}
    	resp, err := client.Get("https://example.com")
    
    Clients and Transports are safe for concurrent use by multiple
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  3. api/api-rules/violation_exceptions.list

    API rule violation: names_match,k8s.io/client-go/pkg/apis/clientauthentication/v1,Cluster,CertificateAuthorityData
    API rule violation: names_match,k8s.io/client-go/pkg/apis/clientauthentication/v1,Cluster,DisableCompression
    API rule violation: names_match,k8s.io/client-go/pkg/apis/clientauthentication/v1,Cluster,InsecureSkipTLSVerify
    API rule violation: names_match,k8s.io/client-go/pkg/apis/clientauthentication/v1,Cluster,ProxyURL
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 02:59:09 UTC 2024
    - 29.9K bytes
    - Viewed (0)
  4. cmd/kube-scheduler/app/options/options.go

    	kubeConfig, err := clientcmd.BuildConfigFromFlags(masterOverride, config.Kubeconfig)
    	if err != nil {
    		return nil, err
    	}
    
    	kubeConfig.DisableCompression = true
    	kubeConfig.AcceptContentTypes = config.AcceptContentTypes
    	kubeConfig.ContentType = config.ContentType
    	kubeConfig.QPS = config.QPS
    	kubeConfig.Burst = int(config.Burst)
    
    	return kubeConfig, nil
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 17 17:06:29 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  5. pkg/controlplane/apiserver/config.go

    	// Disable compression for self-communication, since we are going to be
    	// on a fast local network
    	genericConfig.LoopbackClientConfig.DisableCompression = true
    
    	kubeClientConfig := genericConfig.LoopbackClientConfig
    	clientgoExternalClient, err := clientgoclientset.NewForConfig(kubeClientConfig)
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 17:57:37 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  6. src/net/http/response.go

    	// and the "Content-Length" and "Content-Encoding" fields are deleted
    	// from the responseHeader. To get the original response from
    	// the server, set Transport.DisableCompression to true.
    	Uncompressed bool
    
    	// Trailer maps trailer keys to values in the same
    	// format as Header.
    	//
    	// The Trailer initially contains only nil values, one for
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  7. cmd/update.go

    		ExpectContinueTimeout: timeout,
    		TLSClientConfig: &tls.Config{
    			RootCAs:            globalRootCAs,
    			ClientSessionCache: tls.NewLRUClientSessionCache(tlsClientSessionCacheSize),
    		},
    		DisableCompression: true,
    	}
    	return updateTransport
    }
    
    func getLatestReleaseTime(u *url.URL, timeout time.Duration, mode string) (sha256Sum []byte, releaseTime time.Time, err error) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  8. src/net/http/transport.go

    		DialTLS:                t.DialTLS,
    		DialTLSContext:         t.DialTLSContext,
    		TLSHandshakeTimeout:    t.TLSHandshakeTimeout,
    		DisableKeepAlives:      t.DisableKeepAlives,
    		DisableCompression:     t.DisableCompression,
    		MaxIdleConns:           t.MaxIdleConns,
    		MaxIdleConnsPerHost:    t.MaxIdleConnsPerHost,
    		MaxConnsPerHost:        t.MaxConnsPerHost,
    		IdleConnTimeout:        t.IdleConnTimeout,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 91K bytes
    - Viewed (0)
  9. src/net/http/clientserver_test.go

    			gz.Close()
    		},
    	}.run(t)
    }
    
    func TestH12_AutoGzip_Disabled(t *testing.T) {
    	h12Compare{
    		Opts: []any{
    			func(tr *Transport) { tr.DisableCompression = true },
    		},
    		Handler: func(w ResponseWriter, r *Request) {
    			fmt.Fprintf(w, "%q", r.Header["Accept-Encoding"])
    			if ae := r.Header.Get("Accept-Encoding"); ae != "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 46.6K bytes
    - Viewed (0)
  10. src/net/http/h2_bundle.go

    	}
    	if t.MaxReadFrameSize > http2maxFrameSize {
    		return http2maxFrameSize
    	}
    	return t.MaxReadFrameSize
    }
    
    func (t *http2Transport) disableCompression() bool {
    	return t.DisableCompression || (t.t1 != nil && t.t1.DisableCompression)
    }
    
    func (t *http2Transport) pingTimeout() time.Duration {
    	if t.PingTimeout == 0 {
    		return 15 * time.Second
    	}
    	return t.PingTimeout
    
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 364.1K bytes
    - Viewed (0)
Back to top