Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for activeConns (0.14 sec)

  1. src/net/http/h2_bundle.go

    }
    
    type http2serverInternalState struct {
    	mu          sync.Mutex
    	activeConns map[*http2serverConn]struct{}
    }
    
    func (s *http2serverInternalState) registerConn(sc *http2serverConn) {
    	if s == nil {
    		return // if the Server was used without calling ConfigureServer
    	}
    	s.mu.Lock()
    	s.activeConns[sc] = struct{}{}
    	s.mu.Unlock()
    }
    
    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