Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for GetProxyEndpoints (0.19 sec)

  1. cmd/endpoint.go

    	for i, pep := range proxyEps {
    		if pep.IsLocal {
    			return i
    		}
    	}
    	return -1
    }
    
    // GetProxyEndpoints - get all endpoints that can be used to proxy list request.
    func GetProxyEndpoints(endpointServerPools EndpointServerPools) []ProxyEndpoint {
    	var proxyEps []ProxyEndpoint
    
    	proxyEpSet := set.NewStringSet()
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 34.1K bytes
    - Viewed (0)
  2. cmd/server-main.go

    		Interface:          ctxt.Interface,
    		SendBufSize:        ctxt.SendBufSize,
    		RecvBufSize:        ctxt.RecvBufSize,
    	}
    
    	// allow transport to be HTTP/1.1 for proxying.
    	globalProxyEndpoints = GetProxyEndpoints(globalEndpoints)
    	globalInternodeTransport = NewInternodeHTTPTransport(ctxt.MaxIdleConnsPerHost)()
    	globalRemoteTargetTransport = NewRemoteTargetHTTPTransport(false)()
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 33K bytes
    - Viewed (1)
Back to top