Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for nextProtoOnce (0.16 sec)

  1. src/net/http/transport.go

    	// when reading from the transport.
    	// If zero, a default (currently 4KB) is used.
    	ReadBufferSize int
    
    	// nextProtoOnce guards initialization of TLSNextProto and
    	// h2transport (via onceSetNextProtoDefaults)
    	nextProtoOnce      sync.Once
    	h2transport        h2Transport // non-nil if http2 wired up
    	tlsNextProtoWasNil bool        // whether TLSNextProto was nil when the Once fired
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 91K bytes
    - Viewed (0)
  2. src/net/http/server.go

    	// value.
    	ConnContext func(ctx context.Context, c net.Conn) context.Context
    
    	inShutdown atomic.Bool // true when server is in shutdown
    
    	disableKeepAlives atomic.Bool
    	nextProtoOnce     sync.Once // guards setupHTTP2_* init
    	nextProtoErr      error     // result of http2.ConfigureServer if used
    
    	mu         sync.Mutex
    	listeners  map[*net.Listener]struct{}
    	activeConn map[*conn]struct{}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 123.4K bytes
    - Viewed (0)
Back to top