Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for shuttingDown (0.09 sec)

  1. src/net/http/server.go

    	if s.ReadHeaderTimeout != 0 {
    		return s.ReadHeaderTimeout
    	}
    	return s.ReadTimeout
    }
    
    func (s *Server) doKeepAlives() bool {
    	return !s.disableKeepAlives.Load() && !s.shuttingDown()
    }
    
    func (s *Server) shuttingDown() bool {
    	return s.inShutdown.Load()
    }
    
    // SetKeepAlivesEnabled controls whether HTTP keep-alives are enabled.
    // By default, keep-alives are always enabled. Only very
    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