Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for http2ConfigureServer (0.28 sec)

  1. src/net/http/omithttp2.go

    }
    
    type http2Server struct {
    	NewWriteScheduler func() http2WriteScheduler
    }
    
    type http2WriteScheduler any
    
    func http2NewPriorityWriteScheduler(any) http2WriteScheduler { panic(noHTTP2) }
    
    func http2ConfigureServer(s *Server, conf *http2Server) error { panic(noHTTP2) }
    
    var http2ErrNoCachedConn = http2noCachedConnError{}
    
    type http2noCachedConnError struct{}
    
    func (http2noCachedConnError) IsHTTP2NoCachedConnError() {}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 22 20:51:27 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  2. src/net/http/export_test.go

    	ExportErrServerClosedIdle         = errServerClosedIdle
    	ExportServeFile                   = serveFile
    	ExportScanETag                    = scanETag
    	ExportHttp2ConfigureServer        = http2ConfigureServer
    	Export_shouldCopyHeaderOnRedirect = shouldCopyHeaderOnRedirect
    	Export_writeStatusLine            = writeStatusLine
    	Export_is408Message               = is408Message
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 17 21:11:57 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  3. 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)
  4. 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