Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for disableCompression (0.25 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. internal/dsync/dsync-client_test.go

    		ExpectContinueTimeout: 15 * time.Second,
    		// Go net/http automatically unzip if content-type is
    		// gzip disable this feature, as we are always interested
    		// in raw stream.
    		DisableCompression: true,
    	}
    
    	return &ReconnectRESTClient{
    		u:    u,
    		rest: rest.NewClient(u, tr, nil),
    	}
    }
    
    // Close closes the underlying socket file descriptor.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jan 20 17:36:09 UTC 2022
    - 4.4K bytes
    - Viewed (0)
  4. pkg/probe/http/http.go

    	transport := utilnet.SetTransportDefaults(
    		&http.Transport{
    			TLSClientConfig:    config,
    			DisableKeepAlives:  true,
    			Proxy:              http.ProxyURL(nil),
    			DisableCompression: true, // removes Accept-Encoding header
    			// DialContext creates unencrypted TCP connections
    			// and is also used by the transport for HTTPS connection
    			DialContext: probe.ProbeDialer().DialContext,
    		})
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 10 00:37:32 UTC 2023
    - 5K bytes
    - Viewed (0)
  5. internal/config/dns/operator_dns.go

    			TLSClientConfig: &tls.Config{
    				RootCAs: args.rootCAs,
    			},
    			// Go net/http automatically unzip if content-type is
    			// gzip disable this feature, as we are always interested
    			// in raw stream.
    			DisableCompression: true,
    		},
    	}
    	return args, nil
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Mar 06 16:56:10 UTC 2023
    - 6.6K bytes
    - Viewed (0)
Back to top