Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 41 for http2client (0.25 sec)

  1. src/internal/godebugs/table.go

    	{Name: "gocachehash", Package: "cmd/go"},
    	{Name: "gocachetest", Package: "cmd/go"},
    	{Name: "gocacheverify", Package: "cmd/go"},
    	{Name: "gotypesalias", Package: "go/types", Changed: 23, Old: "0"},
    	{Name: "http2client", Package: "net/http"},
    	{Name: "http2debug", Package: "net/http", Opaque: true},
    	{Name: "http2server", Package: "net/http"},
    	{Name: "httplaxcontentlength", Package: "net/http", Changed: 22, Old: "1"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:58:43 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  2. 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)
  3. src/internal/godebug/godebug_test.go

    		got := tt.setting.Value()
    		if got != tt.want {
    			t.Errorf("get(%q, %q) = %q; want %q", tt.godebug, tt.setting.Name(), got, tt.want)
    		}
    	}
    }
    
    func TestMetrics(t *testing.T) {
    	const name = "http2client" // must be a real name so runtime will accept it
    
    	var m [1]metrics.Sample
    	m[0].Name = "/godebug/non-default-behavior/" + name + ":events"
    	metrics.Read(m[:])
    	if kind := m[0].Value.Kind(); kind != metrics.KindUint64 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 4K bytes
    - Viewed (0)
  4. 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)
  5. src/net/http/transport.go

    	return t.DialTLS != nil || t.DialTLSContext != nil
    }
    
    var http2client = godebug.New("http2client")
    
    // onceSetNextProtoDefaults initializes TLSNextProto.
    // It must be called via t.nextProtoOnce.Do.
    func (t *Transport) onceSetNextProtoDefaults() {
    	t.tlsNextProtoWasNil = (t.TLSNextProto == nil)
    	if http2client.Value() == "0" {
    		http2client.IncNonDefault()
    		return
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 91K bytes
    - Viewed (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/http/HcHttpClientTest.java

            assertEquals(".*index\\.html$", httpClient.convertRobotsTxtPathPattern("index.html$"));
            assertEquals("/\\..*", httpClient.convertRobotsTxtPathPattern("/."));
            assertEquals("/.*", httpClient.convertRobotsTxtPathPattern("/*"));
            assertEquals(".*\\..*", httpClient.convertRobotsTxtPathPattern("."));
            assertEquals(".*", httpClient.convertRobotsTxtPathPattern("*"));
        }
    
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu May 09 09:28:25 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/CrawlerClientFactoryTest.java

            clientFactory = container.getComponent("clientFactory");
            FaultTolerantClient httpClient = container.getComponent("httpClient");
            httpClient.setCrawlerClient(new HcHttpClient());
            clientFactory.addClient("http:.*", httpClient);
            clientFactory.addClient("https:.*", httpClient);
            clientFactory.addClient("file:.*", container.getComponent("fsClient"));
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  8. 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)
  9. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessCurtainFinallyHook.java

                final Method method = clazz.getMethod("shutdownAll", (Class<?>[]) null);
                method.invoke(null, (Object[]) null);
            } catch (final ClassNotFoundException e) {
                // ignore
            } catch (final Exception e) {
                logger.warn("Could not shutdown Commons HttpClient.", e);
            }
        }
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/es/client/CrawlerEngineClient.java

     */
    package org.codelibs.fess.es.client;
    
    import static org.codelibs.core.stream.StreamUtil.split;
    
    import org.codelibs.core.lang.StringUtil;
    import org.codelibs.fesen.client.HttpClient;
    import org.codelibs.fess.Constants;
    import org.codelibs.fess.crawler.client.FesenClient;
    import org.codelibs.fess.mylasta.direction.FessConfig;
    import org.codelibs.fess.util.ComponentUtil;
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.3K bytes
    - Viewed (0)
Back to top