Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for http2client (0.37 sec)

  1. doc/godebug.md

    The environment variable `GODEBUG`
    can hold a comma-separated list of these settings.
    For example, if a Go program is running in an environment that contains
    
    	GODEBUG=http2client=0,http2server=0
    
    then that Go program will disable the use of HTTP/2 by default in both
    the HTTP client and the HTTP server.
    It is also possible to set the default `GODEBUG` for a given program
    (discussed below).
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  2. src/runtime/metrics/doc.go

    		package due to a non-default GODEBUG=gotypesalias=... setting.
    
    	/godebug/non-default-behavior/http2client:events
    		The number of non-default behaviors executed by the net/http
    		package due to a non-default GODEBUG=http2client=... setting.
    
    	/godebug/non-default-behavior/http2server:events
    		The number of non-default behaviors executed by the net/http
    		package due to a non-default GODEBUG=http2server=... setting.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:58:43 UTC 2024
    - 20K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/ApiExtractor.java

                    }
                }
            }
    
            httpClient = closeableHttpClient;
        }
    
        @PreDestroy
        public void destroy() {
            if (httpClient != null) {
                try {
                    httpClient.close();
                } catch (final IOException e) {
                    logger.error("Failed to close httpClient.", e);
                }
            }
        }
    
        @Override
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 10K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/HcHttpClient.java

        public void close() {
            if (httpClient == null) {
                return;
            }
            if (logger.isDebugEnabled()) {
                logger.debug("Closing HcHttpClient...");
            }
            if (connectionMonitorTask != null) {
                connectionMonitorTask.cancel();
            }
            if (httpClient != null) {
                try {
                    httpClient.close();
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu May 09 09:28:25 UTC 2024
    - 41K bytes
    - Viewed (0)
  5. istioctl/pkg/admin/istiodconfig.go

    		}
    		scopeInfos = append(scopeInfos, si)
    	}
    	return scopeInfos, nil
    }
    
    type ControlzClient struct {
    	baseURL    *url.URL
    	httpClient *http.Client
    }
    
    func (c *ControlzClient) GetScopes() ([]*ScopeInfo, error) {
    	var scopeInfos []*ScopeInfo
    	resp, err := c.httpClient.Get(c.baseURL.String())
    	if err != nil {
    		return nil, err
    	}
    	defer resp.Body.Close()
    	if resp.StatusCode != http.StatusOK {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Apr 13 05:23:38 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  6. pkg/spiffe/spiffe.go

    func RetrieveSpiffeBundleRootCerts(config map[string]string, caCertPool *x509.CertPool, retryTimeout time.Duration) (
    	map[string][]*x509.Certificate, error,
    ) {
    	httpClient := &http.Client{
    		Timeout: time.Second * 10,
    	}
    
    	ret := map[string][]*x509.Certificate{}
    	for trustDomain, endpoint := range config {
    		if !strings.HasPrefix(endpoint, "https://") {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java

            container = new StandardCrawlerContainer();
            container.<HcHttpClient> prototype("internalHttpClient", HcHttpClient.class, client -> {
                client.setCookieSpec(CookieSpecs.BEST_MATCH);
            }).prototype("httpClient", FaultTolerantClient.class, client -> {
                client.setCrawlerClient(container.getComponent("internalHttpClient"));
                client.setMaxRetryCount(5);
                client.setRetryInterval(500);
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 18K bytes
    - Viewed (0)
  8. fess-crawler/pom.xml

    			<artifactId>httpclient</artifactId>
    			<version>${httpcomponents.version}</version>
    		</dependency>
    		<dependency>
    			<groupId>org.apache.httpcomponents</groupId>
    			<artifactId>httpmime</artifactId>
    			<version>${httpcomponents.version}</version>
    		</dependency>
    		<dependency>
    			<groupId>org.apache.httpcomponents</groupId>
    			<artifactId>httpclient-cache</artifactId>
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu May 30 06:32:24 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  9. internal/rest/client.go

    	MaxErrResponseSize int64
    
    	// Avoid metrics update if set to true
    	NoMetrics bool
    
    	// TraceOutput will print debug information on non-200 calls if set.
    	TraceOutput io.Writer // Debug trace output
    
    	httpClient   *http.Client
    	url          *url.URL
    	newAuthToken func(audience string) string
    
    	sync.RWMutex // mutex for lastErr
    	lastErr      error
    	lastErrTime  time.Time
    }
    
    type restError string
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  10. cmd/prepare-storage.go

    	serverURL := &url.URL{
    		Scheme: endpoint.Scheme,
    		Host:   endpoint.Host,
    		Path:   pathJoin(healthCheckPathPrefix, healthCheckLivenessPath),
    	}
    
    	httpClient := &http.Client{
    		Transport: globalInternodeTransport,
    	}
    
    	ctx, cancel := context.WithTimeout(GlobalContext, timeout)
    	defer cancel()
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun May 19 08:06:49 UTC 2024
    - 11.1K bytes
    - Viewed (0)
Back to top