Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for startGracefulShutdown (0.16 sec)

  1. src/net/http/h2_bundle.go

    	}
    	s.mu.Lock()
    	delete(s.activeConns, sc)
    	s.mu.Unlock()
    }
    
    func (s *http2serverInternalState) startGracefulShutdown() {
    	if s == nil {
    		return // if the Server was used without calling ConfigureServer
    	}
    	s.mu.Lock()
    	for sc := range s.activeConns {
    		sc.startGracefulShutdown()
    	}
    	s.mu.Unlock()
    }
    
    // ConfigureServer adds HTTP/2 support to a net/http Server.
    //
    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