Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for http2Server (0.3 sec)

  1. src/internal/godebugs/table.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"},
    	{Name: "httpmuxgo121", Package: "net/http", Changed: 22, Old: "1"},
    	{Name: "installgoroot", Package: "go/build"},
    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/net/http/h2_bundle.go

    	group http2synctestGroupInterface
    }
    
    func (s *http2Server) markNewGoroutine() {
    	if s.group != nil {
    		s.group.Join()
    	}
    }
    
    func (s *http2Server) now() time.Time {
    	if s.group != nil {
    		return s.group.Now()
    	}
    	return time.Now()
    }
    
    // newTimer creates a new time.Timer, or a synthetic timer in tests.
    func (s *http2Server) newTimer(d time.Duration) http2timer {
    	if s.group != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 364.1K bytes
    - Viewed (0)
  4. src/runtime/metrics/doc.go

    		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.
    
    	/godebug/non-default-behavior/httplaxcontentlength:events
    		The number of non-default behaviors executed by the net/http
    		package due to a non-default GODEBUG=httplaxcontentlength=...
    		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/server.go

    	}
    }
    
    var http2server = godebug.New("http2server")
    
    // onceSetNextProtoDefaults configures HTTP/2, if the user hasn't
    // configured otherwise. (by setting srv.TLSNextProto non-nil)
    // It must only be called via srv.nextProtoOnce (use srv.setupHTTP2_*).
    func (srv *Server) onceSetNextProtoDefaults() {
    	if omitBundledHTTP2 {
    		return
    	}
    	if http2server.Value() == "0" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 123.4K bytes
    - Viewed (0)
  6. pilot/pkg/bootstrap/server.go

    		// use ReadHeaderTimeout instead of ReadTimeout.
    		s.httpServer.ReadTimeout = 0
    		s.httpServer.ReadHeaderTimeout = 30 * time.Second
    		s.httpServer.Handler = multiplexHandler
    	}
    
    	if args.ServerOptions.MonitoringAddr == "" {
    		s.monitoringMux = s.httpMux
    		log.Infof("initializing Istiod admin server multiplexed on httpAddr %v", s.httpServer.Addr)
    	} else {
    		log.Info("initializing Istiod admin server")
    	}
    }
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 17:48:28 UTC 2024
    - 46.3K bytes
    - Viewed (0)
  7. platforms/core-runtime/wrapper-main/src/integTest/groovy/org/gradle/integtests/WrapperGenerationIntegrationTest.groovy

            }
        }
    
        @Rule
        HttpServer httpServer = new HttpServer()
    
        @Requires(IntegTestPreconditions.NotEmbeddedExecutor)
        def "wrapper task fails if http distribution url from command-line is invalid"() {
            given:
            def path = "/distributions/8.0-RC-5"
            httpServer.start()
            httpServer.expectHeadMissing(path)
            def url = "${httpServer.uri}" + path
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:38 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  8. pkg/ctrlz/ctrlz.go

    		},
    	}
    
    	s.shutdown.Add(1)
    	go s.listen()
    
    	return s, nil
    }
    
    func (s *Server) listen() {
    	log.Infof("ControlZ available at %s", s.httpServer.Addr)
    	if listeningTestProbe != nil {
    		go listeningTestProbe()
    	}
    	err := s.httpServer.Serve(s.listener)
    	log.Infof("ControlZ terminated: %v", err)
    	s.shutdown.Done()
    }
    
    // Close terminates ControlZ.
    //
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 11 21:22:53 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  9. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheRemoteBuildScriptIntegrationTest.groovy

    
    import org.gradle.test.fixtures.file.TestFile
    import org.gradle.test.fixtures.server.http.HttpServer
    import org.junit.Rule
    import spock.lang.Issue
    
    class ConfigurationCacheRemoteBuildScriptIntegrationTest extends AbstractConfigurationCacheIntegrationTest {
    
        @Rule
        HttpServer server = new HttpServer()
    
        String scriptUrl
        TestFile scriptFile
        String scriptName = "remote-script.gradle"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  10. security/pkg/k8s/chiron/utils_test.go

    	server1 := newMockTLSServer(t)
    	defer server1.httpServer.Close()
    	server2 := newMockTLSServer(t)
    	defer server2.httpServer.Close()
    
    	host := "127.0.0.1"
    	port1, err := getServerPort(server1.httpServer)
    	if err != nil {
    		t.Fatalf("error to get the server 1 port: %v", err)
    	}
    	port2, err := getServerPort(server2.httpServer)
    	if err != nil {
    		t.Fatalf("error to get the server 2 port: %v", err)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 15 03:58:11 UTC 2024
    - 13K bytes
    - Viewed (0)
Back to top