Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for allocated_ports (0.43 sec)

  1. pilot/cmd/pilot-agent/status/server.go

    		return
    	}
    	// for testing.
    	if s.statusPort == 0 {
    		_, hostPort, _ := net.SplitHostPort(l.Addr().String())
    		allocatedPort, _ := strconv.Atoi(hostPort)
    		s.mutex.Lock()
    		s.statusPort = uint16(allocatedPort)
    		s.mutex.Unlock()
    	}
    	defer l.Close()
    
    	go func() {
    		if err := http.Serve(l, mux); err != nil {
    			if network.IsUnexpectedListenerError(err) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 15:07:03 UTC 2024
    - 31.1K bytes
    - Viewed (1)
Back to top