Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for http2ConfigureServer (0.48 sec)

  1. src/net/http/server.go

    		return
    	}
    	// Enable HTTP/2 by default if the user hasn't otherwise
    	// configured their TLSNextProto map.
    	if srv.TLSNextProto == nil {
    		conf := &http2Server{}
    		srv.nextProtoErr = http2ConfigureServer(srv, conf)
    	}
    }
    
    // TimeoutHandler returns a [Handler] that runs h with the given time limit.
    //
    // The new Handler calls h.ServeHTTP to handle each request, but if a
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 123.4K bytes
    - Viewed (0)
  2. src/net/http/h2_bundle.go

    	s.mu.Unlock()
    }
    
    // ConfigureServer adds HTTP/2 support to a net/http Server.
    //
    // The configuration conf may be nil.
    //
    // ConfigureServer must be called before s begins serving.
    func http2ConfigureServer(s *Server, conf *http2Server) error {
    	if s == nil {
    		panic("nil *http.Server")
    	}
    	if conf == nil {
    		conf = new(http2Server)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 364.1K bytes
    - Viewed (0)
Back to top