Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 22 for disableCompression (0.62 sec)

  1. cmd/kube-controller-manager/app/options/options.go

    	}
    
    	kubeconfig, err := clientcmd.BuildConfigFromFlags(s.Master, s.Generic.ClientConnection.Kubeconfig)
    	if err != nil {
    		return nil, err
    	}
    	kubeconfig.DisableCompression = true
    	kubeconfig.ContentConfig.AcceptContentTypes = s.Generic.ClientConnection.AcceptContentTypes
    	kubeconfig.ContentConfig.ContentType = s.Generic.ClientConnection.ContentType
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jul 13 20:41:50 UTC 2023
    - 20.7K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. staging/src/k8s.io/apiserver/pkg/endpoints/apiserver_test.go

    	}
    	storage["simple"] = &simpleStorage
    	handler := handle(storage)
    	server := httptest.NewServer(handler)
    	defer server.Close()
    
    	client := &http.Client{
    		Transport: &http.Transport{
    			DisableCompression: true,
    		},
    	}
    
    	u := server.URL + "/" + prefix + "/" + testGroupVersion.Group + "/" + testGroupVersion.Version + "/namespaces/default/simple/id"
    
    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 20:15:22 UTC 2023
    - 158.7K bytes
    - Viewed (0)
  7. src/net/http/transport_test.go

    		TLSClientConfig:        new(tls.Config),
    		TLSHandshakeTimeout:    time.Second,
    		DisableKeepAlives:      true,
    		DisableCompression:     true,
    		MaxIdleConns:           1,
    		MaxIdleConnsPerHost:    1,
    		MaxConnsPerHost:        1,
    		IdleConnTimeout:        time.Second,
    		ResponseHeaderTimeout:  time.Second,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 192.6K bytes
    - Viewed (0)
  8. CHANGELOG/CHANGELOG-1.26.md

      stability level and deprecated version.'
       ([#112907](https://github.com/kubernetes/kubernetes/pull/112907), [@logicalhan](https://github.com/logicalhan))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 14 16:24:51 UTC 2024
    - 425.7K bytes
    - Viewed (0)
  9. CHANGELOG/CHANGELOG-1.16.md

    * Kubernetes client users may disable automatic compression when invoking Kubernetes APIs by setting the `DisableCompression` field on their rest.Config.  This is recommended when clients communicate primarily over high bandwidth / low latency networks where response compression does not improve end to end latency. ([#80919](https://github.com/kubernetes/kubernetes/pull/80919),...
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 11 10:00:57 UTC 2021
    - 345.2K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"Transport", Type, 0},
    		{"Transport.Dial", Field, 0},
    		{"Transport.DialContext", Field, 7},
    		{"Transport.DialTLS", Field, 4},
    		{"Transport.DialTLSContext", Field, 14},
    		{"Transport.DisableCompression", Field, 0},
    		{"Transport.DisableKeepAlives", Field, 0},
    		{"Transport.ExpectContinueTimeout", Field, 6},
    		{"Transport.ForceAttemptHTTP2", Field, 13},
    		{"Transport.GetProxyConnectHeader", Field, 16},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
Back to top