- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 72 for http2Server (0.31 sec)
-
src/internal/godebug/godebug.go
// opt back in to the original. For example GODEBUG=http2server=0 disables // HTTP/2 support in the net/http server. // // In typical usage, code should declare a Setting as a global // and then call Value each time the current setting value is needed: // // var http2server = godebug.New("http2server") // // func ServeConn(c net.Conn) { // if http2server.Value() == "0" { // disallow HTTP/2 // ... // } // ...
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Mar 09 14:19:39 UTC 2024 - 9.4K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
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) -
testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/HttpServer.groovy
*/ class HttpServer extends ServerWithExpectations implements HttpServerFixture { private final static Logger logger = LoggerFactory.getLogger(HttpServer.class) protected Matcher expectedUserAgent = null List<ServerExpectation> expectations = [] boolean chunkedTransfer = false
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 32.3K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/BlockingHttpsServer.java
*/ public void configure(TestKeyStore testKeyStore, boolean needClientAuth, Predicate<String> tlsProtocolFilter) { HttpsServer httpsServer = (HttpsServer) this.server; SSLContext context = testKeyStore.asServerSSLContext(); httpsServer.setHttpsConfigurator(new HttpsConfigurator(context) { @Override public void configure(HttpsParameters params) { SSLContext c = getSSLContext();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 3.1K bytes - Viewed (0) -
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) -
testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/HttpArtifact.groovy
expectPut(credentials) if (server.supportsHash(HttpServer.SupportedHash.SHA1)) { sha1.expectPut(credentials) } if (extraChecksums) { if (server.supportsHash(HttpServer.SupportedHash.SHA256)) { sha256.expectPut(credentials) } if (server.supportsHash(HttpServer.SupportedHash.SHA512)) { sha512.expectPut(credentials)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 3.1K bytes - Viewed (0)